Files
pezkuwi-subxt/substrate/core/test-runtime/Cargo.toml
T
Bastian Köcher 2ecffa1cd0 Refactor sr-api to not depend on client anymore (#4086)
* Refactor sr-api to not depend on client anymore

* Fix benches

* Apply suggestions from code review

Co-Authored-By: Tomasz Drwięga <tomusdrw@users.noreply.github.com>

* Apply suggestions from code review
2019-11-11 16:26:49 +01:00

84 lines
3.7 KiB
TOML

[package]
name = "substrate-test-runtime"
version = "2.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
build = "build.rs"
[dependencies]
log = { version = "0.4.8", optional = true }
serde = { version = "1.0.101", optional = true, features = ["derive"] }
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false, features = ["derive"] }
keyring = { package = "substrate-keyring", path = "../keyring", optional = true }
sr-api = { path = "../sr-api", default-features = false }
substrate-client = { path = "../client", optional = true }
primitives = { package = "substrate-primitives", path = "../primitives", default-features = false }
app-crypto = { package = "substrate-application-crypto", path = "../application-crypto", default-features = false }
inherents = { package = "substrate-inherents", path = "../inherents", default-features = false }
aura-primitives = { package = "substrate-consensus-aura-primitives", path = "../consensus/aura/primitives", default-features = false }
babe-primitives = { package = "substrate-consensus-babe-primitives", path = "../consensus/babe/primitives", default-features = false }
rstd = { package = "sr-std", path = "../sr-std", default-features = false }
runtime_io = { package = "sr-io", path = "../sr-io", default-features = false }
sr-primitives = { path = "../sr-primitives", default-features = false }
session = { package = "substrate-session", path = "../session", default-features = false }
runtime_version = { package = "sr-version", path = "../sr-version", default-features = false }
runtime_support = { package = "srml-support", path = "../../srml/support", default-features = false }
substrate-trie = { path = "../trie", default-features = false }
trie-db = { version = "0.15.2", default-features = false }
memory-db = { version = "0.15.2", default-features = false }
offchain-primitives = { package = "substrate-offchain-primitives", path = "../offchain/primitives", default-features = false}
runtime-interface = { package = "substrate-runtime-interface", path = "../runtime-interface", default-features = false}
executive = { package = "srml-executive", path = "../../srml/executive", default-features = false }
cfg-if = "0.1.10"
srml-babe = { path = "../../srml/babe", default-features = false }
srml-timestamp = { path = "../../srml/timestamp", default-features = false }
srml-system = { path = "../../srml/system", default-features = false }
srml-system-rpc-runtime-api = { path = "../../srml/system/rpc/runtime-api", default-features = false }
transaction-pool-api = { package = "substrate-transaction-pool-runtime-api", path = "../transaction-pool/runtime-api", default-features = false }
block-builder-api = { package = "substrate-block-builder-runtime-api", path = "../block-builder/runtime-api", default-features = false }
[dev-dependencies]
substrate-executor = { path = "../executor" }
substrate-test-runtime-client = { path = "./client" }
state_machine = { package = "substrate-state-machine", path = "../state-machine" }
[build-dependencies]
wasm-builder-runner = { package = "substrate-wasm-builder-runner", version = "1.0.4", path = "../utils/wasm-builder-runner" }
[features]
default = [
"std",
]
std = [
"log",
"serde",
"sr-api/std",
"keyring",
"codec/std",
"rstd/std",
"runtime_io/std",
"runtime_support/std",
"primitives/std",
"inherents/std",
"sr-primitives/std",
"runtime_version/std",
"aura-primitives/std",
"babe-primitives/std",
"primitives/std",
"substrate-trie/std",
"trie-db/std",
"memory-db/std",
"offchain-primitives/std",
"executive/std",
"srml-babe/std",
"srml-timestamp/std",
"srml-system/std",
"srml-system-rpc-runtime-api/std",
"app-crypto/std",
"session/std",
"runtime-interface/std",
"transaction-pool-api/std",
"block-builder-api/std",
"substrate-client",
]