168 lines
5.2 KiB
TOML
168 lines
5.2 KiB
TOML
[package]
|
|
name = "substrate-test-runtime"
|
|
version = "2.0.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
build = "build.rs"
|
|
license = "Apache-2.0"
|
|
homepage.workspace = true
|
|
repository.workspace = true
|
|
publish = false
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
codec = { features = ["derive"], workspace = true }
|
|
frame-executive = { workspace = true }
|
|
frame-metadata-hash-extension = { workspace = true }
|
|
frame-support = { workspace = true }
|
|
frame-system = { workspace = true }
|
|
frame-system-rpc-runtime-api = { workspace = true }
|
|
pallet-babe = { workspace = true }
|
|
pallet-balances = { workspace = true }
|
|
pallet-timestamp = { workspace = true }
|
|
pallet-utility = { workspace = true }
|
|
sc-service = { optional = true, workspace = true }
|
|
scale-info = { features = ["derive"], workspace = true }
|
|
sp-api = { workspace = true }
|
|
sp-application-crypto = { features = ["serde"], workspace = true }
|
|
sp-block-builder = { workspace = true }
|
|
sp-consensus-aura = { features = ["serde"], workspace = true }
|
|
sp-consensus-babe = { features = ["serde"], workspace = true }
|
|
sp-consensus-grandpa = { features = ["serde"], workspace = true }
|
|
sp-core = { features = ["serde"], workspace = true }
|
|
sp-crypto-hashing = { workspace = true }
|
|
sp-debug-derive = { workspace = true, default-features = false, features = [
|
|
"force-debug",
|
|
] }
|
|
sp-externalities = { workspace = true }
|
|
sp-genesis-builder = { workspace = true }
|
|
sp-inherents = { workspace = true }
|
|
sp-io = { workspace = true }
|
|
sp-keyring = { workspace = true }
|
|
sp-offchain = { workspace = true }
|
|
sp-runtime = { features = ["serde"], workspace = true }
|
|
sp-session = { workspace = true }
|
|
sp-state-machine = { workspace = true }
|
|
sp-transaction-pool = { workspace = true }
|
|
sp-trie = { workspace = true }
|
|
sp-version = { workspace = true }
|
|
trie-db = { workspace = true }
|
|
|
|
# 3rd party
|
|
array-bytes = { optional = true, workspace = true, default-features = true }
|
|
log = { workspace = true }
|
|
serde_json = { workspace = true, features = ["alloc"] }
|
|
tracing = { workspace = true, default-features = false }
|
|
|
|
[dev-dependencies]
|
|
futures = { workspace = true }
|
|
pretty_assertions = { workspace = true }
|
|
sc-block-builder = { workspace = true, default-features = true }
|
|
sc-chain-spec = { workspace = true, default-features = true }
|
|
sc-executor = { workspace = true, default-features = true }
|
|
sc-executor-common = { workspace = true, default-features = true }
|
|
serde = { features = ["alloc", "derive"], workspace = true }
|
|
sp-consensus = { workspace = true, default-features = true }
|
|
sp-tracing = { workspace = true, default-features = true }
|
|
substrate-test-runtime-client = { workspace = true }
|
|
|
|
[build-dependencies]
|
|
substrate-wasm-builder = { optional = true, features = [
|
|
"metadata-hash",
|
|
], workspace = true, default-features = true }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
|
|
std = [
|
|
"array-bytes",
|
|
"codec/std",
|
|
"frame-executive/std",
|
|
"frame-metadata-hash-extension/std",
|
|
"frame-support/std",
|
|
"frame-system-rpc-runtime-api/std",
|
|
"frame-system/std",
|
|
"log/std",
|
|
"pallet-babe/std",
|
|
"pallet-balances/std",
|
|
"pallet-timestamp/std",
|
|
"pallet-utility/std",
|
|
"sc-executor/std",
|
|
"sc-service",
|
|
"scale-info/std",
|
|
"serde/std",
|
|
"serde_json/std",
|
|
"sp-api/std",
|
|
"sp-application-crypto/std",
|
|
"sp-block-builder/std",
|
|
"sp-consensus-aura/std",
|
|
"sp-consensus-babe/std",
|
|
"sp-consensus-grandpa/std",
|
|
"sp-core/std",
|
|
"sp-crypto-hashing/std",
|
|
"sp-debug-derive/std",
|
|
"sp-externalities/std",
|
|
"sp-genesis-builder/std",
|
|
"sp-inherents/std",
|
|
"sp-io/std",
|
|
"sp-keyring/std",
|
|
"sp-offchain/std",
|
|
"sp-runtime/std",
|
|
"sp-session/std",
|
|
"sp-state-machine/std",
|
|
"sp-tracing/std",
|
|
"sp-transaction-pool/std",
|
|
"sp-trie/std",
|
|
"sp-version/std",
|
|
"substrate-wasm-builder",
|
|
"tracing/std",
|
|
"trie-db/std",
|
|
]
|
|
|
|
# Special feature to disable logging
|
|
disable-logging = ["sp-api/disable-logging"]
|
|
|
|
# This feature adds BLS crypto primitives.
|
|
# It should not be used in production since the implementation and interface may still
|
|
# be subject to significant changes.
|
|
bls-experimental = ["sp-application-crypto/bls-experimental"]
|
|
runtime-benchmarks = [
|
|
"frame-executive/runtime-benchmarks",
|
|
"frame-metadata-hash-extension/runtime-benchmarks",
|
|
"frame-support/runtime-benchmarks",
|
|
"frame-system-rpc-runtime-api/runtime-benchmarks",
|
|
"frame-system/runtime-benchmarks",
|
|
"pallet-babe/runtime-benchmarks",
|
|
"pallet-balances/runtime-benchmarks",
|
|
"pallet-timestamp/runtime-benchmarks",
|
|
"pallet-utility/runtime-benchmarks",
|
|
"sc-block-builder/runtime-benchmarks",
|
|
"sc-chain-spec/runtime-benchmarks",
|
|
"sc-executor/runtime-benchmarks",
|
|
"sc-service?/runtime-benchmarks",
|
|
"sp-api/runtime-benchmarks",
|
|
"sp-block-builder/runtime-benchmarks",
|
|
"sp-consensus-aura/runtime-benchmarks",
|
|
"sp-consensus-babe/runtime-benchmarks",
|
|
"sp-consensus-grandpa/runtime-benchmarks",
|
|
"sp-consensus/runtime-benchmarks",
|
|
"sp-genesis-builder/runtime-benchmarks",
|
|
"sp-inherents/runtime-benchmarks",
|
|
"sp-io/runtime-benchmarks",
|
|
"sp-keyring/runtime-benchmarks",
|
|
"sp-offchain/runtime-benchmarks",
|
|
"sp-runtime/runtime-benchmarks",
|
|
"sp-session/runtime-benchmarks",
|
|
"sp-state-machine/runtime-benchmarks",
|
|
"sp-transaction-pool/runtime-benchmarks",
|
|
"sp-trie/runtime-benchmarks",
|
|
"sp-version/runtime-benchmarks",
|
|
"substrate-test-runtime-client/runtime-benchmarks",
|
|
"substrate-wasm-builder?/runtime-benchmarks",
|
|
]
|