[package]
name = "substrate-test-runtime"
version = "2.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
build = "build.rs"

[dependencies]
app-crypto = { package = "sc-application-crypto", path = "../../../primitives/application-crypto", default-features = false }
aura-primitives = { package = "sp-consensus-aura", path = "../../../primitives/consensus/aura", default-features = false }
babe-primitives = { package = "sp-consensus-babe", path = "../../../primitives/consensus/babe", default-features = false }
block-builder-api = { package = "sp-block-builder", path = "../../../primitives/block-builder/runtime-api", default-features = false }
cfg-if = "0.1.10"
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false, features = ["derive"] }
executive = { package = "frame-executive", path = "../../../frame/executive", default-features = false }
inherents = { package = "sp-inherents", path = "../../../primitives/inherents", default-features = false }
keyring = { package = "sp-keyring", path = "../../../primitives/keyring", optional = true }
log = { version = "0.4.8", optional = true }
memory-db = { version = "0.15.2", default-features = false }
offchain-primitives = { package = "sp-offchain", path = "../../../primitives/offchain", default-features = false}
primitives = { package = "sp-core", path = "../../../primitives/core", default-features = false }
rstd = { package = "sp-std", path = "../../../primitives/sr-std", default-features = false }
runtime-interface = { package = "sp-runtime-interface", path = "../../../primitives/runtime-interface", default-features = false}
runtime_io = { package = "sp-io", path = "../../../primitives/sr-io", default-features = false }
runtime_support = { package = "frame-support", path = "../../../frame/support", default-features = false }
runtime_version = { package = "sp-version", path = "../../../primitives/sr-version", default-features = false }
serde = { version = "1.0.101", optional = true, features = ["derive"] }
session = { package = "sp-sesssion", path = "../../../primitives/session", default-features = false }
sp-api = { path = "../../../primitives/sr-api", default-features = false }
sp-runtime = {  path = "../../../primitives/sr-primitives", default-features = false }
pallet-babe = { path = "../../../frame/babe", default-features = false }
frame-system = { path = "../../../frame/system", default-features = false }
frame-system-rpc-runtime-api = { path = "../../../frame/system/rpc/runtime-api", default-features = false }
pallet-timestamp = { path = "../../../frame/timestamp", default-features = false }
sc-client = { path = "../../../client", optional = true }
sp-trie = { path = "../../../primitives/trie", default-features = false }
txpool-runtime-api = { package = "sp-transaction-pool-runtime-api", path = "../../../primitives/transaction-pool/runtime-api", default-features = false }
trie-db = { version = "0.16.0", default-features = false }

[dev-dependencies]
sc-executor = { path = "../../../client/executor" }
substrate-test-runtime-client = { path = "./client" }
state_machine = { package = "sp-state-machine", path = "../../../primitives/state-machine" }

[build-dependencies]
wasm-builder-runner = { package = "substrate-wasm-builder-runner", path = "../../../client/utils/wasm-builder-runner", version = "1.0.4" }

[features]
default = [
	"std",
]
std = [
	"app-crypto/std",
	"aura-primitives/std",
	"babe-primitives/std",
	"block-builder-api/std",
	"codec/std",
	"executive/std",
	"inherents/std",
	"keyring",
	"log",
	"memory-db/std",
	"offchain-primitives/std",
	"primitives/std",
	"primitives/std",
	"rstd/std",
	"runtime-interface/std",
	"runtime_io/std",
	"runtime_support/std",
	"runtime_version/std",
	"serde",
	"session/std",
	"sp-api/std",
	"sp-runtime/std",
	"pallet-babe/std",
	"frame-system-rpc-runtime-api/std",
	"frame-system/std",
	"pallet-timestamp/std",
	"sc-client",
	"sp-trie/std",
	"txpool-runtime-api/std",
	"trie-db/std",
]
