Skip to content
Cargo.toml 7.5 KiB
Newer Older
[package]
name = "polkadot-test-runtime"
build = "build.rs"
Lulu's avatar
Lulu committed
publish = false
version = "1.0.0"
authors.workspace = true
edition.workspace = true
Lulu's avatar
Lulu committed
license.workspace = true
bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] }
parity-scale-codec = { version = "3.6.1", default-features = false, features = ["derive"] }
log = { version = "0.4.17", default-features = false }
rustc-hex = { version = "2.1.0", default-features = false }
scale-info = { version = "2.5.0", default-features = false, features = ["derive"] }
serde = { version = "1.0.188", default-features = false }
serde_derive = { version = "1.0.117", optional = true }
Alexander's avatar
Alexander committed
authority-discovery-primitives = { package = "sp-authority-discovery", path = "../../../substrate/primitives/authority-discovery", default-features = false }
babe-primitives = { package = "sp-consensus-babe", path = "../../../substrate/primitives/consensus/babe", default-features = false }
beefy-primitives = { package = "sp-consensus-beefy", path = "../../../substrate/primitives/consensus/beefy", default-features = false }
sp-api = { path = "../../../substrate/primitives/api", default-features = false }
inherents = { package = "sp-inherents", path = "../../../substrate/primitives/inherents", default-features = false }
offchain-primitives = { package = "sp-offchain", path = "../../../substrate/primitives/offchain", default-features = false }
sp-std = { path = "../../../substrate/primitives/std", default-features = false }
sp-io = { path = "../../../substrate/primitives/io", default-features = false }
sp-runtime = { path = "../../../substrate/primitives/runtime", default-features = false }
sp-staking = { path = "../../../substrate/primitives/staking", default-features = false }
sp-core = { path = "../../../substrate/primitives/core", default-features = false }
sp-mmr-primitives = { path = "../../../substrate/primitives/merkle-mountain-range", default-features = false }
sp-session = { path = "../../../substrate/primitives/session", default-features = false }
sp-version = { path = "../../../substrate/primitives/version", default-features = false }
frame-election-provider-support = { path = "../../../substrate/frame/election-provider-support", default-features = false }
tx-pool-api = { package = "sp-transaction-pool", path = "../../../substrate/primitives/transaction-pool", default-features = false }
block-builder-api = { package = "sp-block-builder", path = "../../../substrate/primitives/block-builder", default-features = false }
Alexander's avatar
Alexander committed
pallet-authority-discovery = { path = "../../../substrate/frame/authority-discovery", default-features = false }
pallet-authorship = { path = "../../../substrate/frame/authorship", default-features = false }
pallet-babe = { path = "../../../substrate/frame/babe", default-features = false }
pallet-balances = { path = "../../../substrate/frame/balances", default-features = false }
pallet-transaction-payment = { path = "../../../substrate/frame/transaction-payment", default-features = false }
pallet-transaction-payment-rpc-runtime-api = { path = "../../../substrate/frame/transaction-payment/rpc/runtime-api", default-features = false }
frame-executive = { path = "../../../substrate/frame/executive", default-features = false }
pallet-grandpa = { path = "../../../substrate/frame/grandpa", default-features = false }
pallet-indices = { path = "../../../substrate/frame/indices", default-features = false }
pallet-offences = { path = "../../../substrate/frame/offences", default-features = false }
pallet-session = { path = "../../../substrate/frame/session", default-features = false }
frame-support = { path = "../../../substrate/frame/support", default-features = false }
pallet-staking = { path = "../../../substrate/frame/staking", default-features = false }
pallet-staking-reward-curve = { path = "../../../substrate/frame/staking/reward-curve" }
frame-system = { path = "../../../substrate/frame/system", default-features = false }
frame-system-rpc-runtime-api = { path = "../../../substrate/frame/system/rpc/runtime-api", default-features = false }
test-runtime-constants = { package = "test-runtime-constants", path = "constants", default-features = false }
pallet-timestamp = { path = "../../../substrate/frame/timestamp", default-features = false }
pallet-sudo = { path = "../../../substrate/frame/sudo", default-features = false }
pallet-vesting = { path = "../../../substrate/frame/vesting", default-features = false }

runtime-common = { package = "polkadot-runtime-common", path = "../common", default-features = false }
primitives = { package = "polkadot-primitives", path = "../../primitives", default-features = false }
pallet-xcm = { path = "../../xcm/pallet-xcm", default-features = false }
polkadot-parachain = { path = "../../parachain", default-features = false }
polkadot-runtime-parachains = { path = "../parachains", default-features = false }
xcm-builder = { path = "../../xcm/xcm-builder", default-features = false }
xcm-executor = { path = "../../xcm/xcm-executor", default-features = false }
xcm = { path = "../../xcm", default-features = false }

[dev-dependencies]
hex-literal = "0.4.1"
tiny-keccak = { version = "2.0.2", features = ["keccak"] }
Alexander's avatar
Alexander committed
keyring = { package = "sp-keyring", path = "../../../substrate/primitives/keyring" }
sp-trie = { path = "../../../substrate/primitives/trie" }
serde_json = "1.0.96"

[build-dependencies]
Alexander's avatar
Alexander committed
substrate-wasm-builder = { path = "../../../substrate/utils/wasm-builder" }
default = [ "std" ]
no_std = []
only-staking = []
runtime-metrics = [
	"polkadot-runtime-parachains/runtime-metrics",
	"sp-io/with-tracing",
]
	"authority-discovery-primitives/std",
	"babe-primitives/std",
	"beefy-primitives/std",
	"bitvec/std",
	"block-builder-api/std",
	"frame-election-provider-support/std",
	"frame-executive/std",
	"frame-support/std",
	"frame-system-rpc-runtime-api/std",
	"frame-system/std",
	"inherents/std",
	"log/std",
	"offchain-primitives/std",
	"pallet-authority-discovery/std",
	"pallet-authorship/std",
	"pallet-babe/std",
	"pallet-balances/std",
	"pallet-grandpa/std",
	"pallet-indices/std",
	"pallet-offences/std",
	"pallet-session/std",
	"pallet-staking/std",
	"pallet-sudo/std",
	"pallet-timestamp/std",
	"pallet-transaction-payment-rpc-runtime-api/std",
	"pallet-transaction-payment/std",
	"pallet-vesting/std",
	"pallet-xcm/std",
	"parity-scale-codec/std",
	"polkadot-parachain/std",
Oliver Tale-Yazdi's avatar
Oliver Tale-Yazdi committed
	"polkadot-runtime-parachains/std",
	"primitives/std",
	"runtime-common/std",
	"rustc-hex/std",
	"scale-info/std",
	"serde_derive",
	"sp-api/std",
	"sp-core/std",
	"sp-io/std",
Oliver Tale-Yazdi's avatar
Oliver Tale-Yazdi committed
	"sp-mmr-primitives/std",
	"sp-runtime/std",
	"sp-session/std",
	"sp-staking/std",
	"sp-std/std",
	"sp-version/std",
	"test-runtime-constants/std",
	"tx-pool-api/std",
	"xcm-builder/std",
	"xcm-executor/std",
	"xcm/std",
Gavin Wood's avatar
Gavin Wood committed

runtime-benchmarks = [
Oliver Tale-Yazdi's avatar
Oliver Tale-Yazdi committed
	"frame-election-provider-support/runtime-benchmarks",
	"frame-support/runtime-benchmarks",
	"frame-system/runtime-benchmarks",
	"pallet-babe/runtime-benchmarks",
	"pallet-balances/runtime-benchmarks",
	"pallet-grandpa/runtime-benchmarks",
	"pallet-indices/runtime-benchmarks",
	"pallet-offences/runtime-benchmarks",
	"pallet-staking/runtime-benchmarks",
	"pallet-sudo/runtime-benchmarks",
	"pallet-timestamp/runtime-benchmarks",
	"pallet-vesting/runtime-benchmarks",
Gavin Wood's avatar
Gavin Wood committed
	"pallet-xcm/runtime-benchmarks",
Oliver Tale-Yazdi's avatar
Oliver Tale-Yazdi committed
	"polkadot-parachain/runtime-benchmarks",
	"polkadot-runtime-parachains/runtime-benchmarks",
	"primitives/runtime-benchmarks",
	"runtime-common/runtime-benchmarks",
	"sp-runtime/runtime-benchmarks",
	"sp-staking/runtime-benchmarks",
	"xcm-builder/runtime-benchmarks",
Oliver Tale-Yazdi's avatar
Oliver Tale-Yazdi committed
	"xcm-executor/runtime-benchmarks",
Gavin Wood's avatar
Gavin Wood committed
]