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

[dependencies]
# third-party dependencies
codec = { package = "parity-scale-codec", version = "1.0.6", default-features = false, features = ["derive"] }
integer-sqrt = { version = "0.1.2" }
safe-mix = { version = "1.0", default-features = false }
rustc-hex = { version = "2.0", optional = true }
serde = { version = "1.0.102", optional = true }

# primitives
authority-discovery-primitives = { package = "sp-authority-discovery", path = "../../../primitives/authority-discovery", 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}
inherents = { package = "sp-inherents", path = "../../../primitives/inherents", default-features = false }
node-primitives = { path = "../primitives", 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 }
sp-api = { path = "../../../primitives/sr-api", default-features = false }
sp-runtime = { path = "../../../primitives/sr-primitives", default-features = false }
sp-staking = { path = "../../../primitives/sr-staking-primitives", default-features = false }
sp-keyring = { path = "../../../primitives/keyring", optional = true }
sp-sesssion = { path = "../../../primitives/session", default-features = false }
txpool-runtime-api = { package = "sp-transaction-pool-runtime-api", path = "../../../primitives/transaction-pool/runtime-api", default-features = false }
version = { package = "sp-version", path = "../../../primitives/sr-version", default-features = false }

# frame dependencies
authority-discovery = { package = "pallet-authority-discovery", path = "../../../frame/authority-discovery", default-features = false }
authorship = { package = "pallet-authorship", path = "../../../frame/authorship", default-features = false }
babe = { package = "pallet-babe", path = "../../../frame/babe", default-features = false }
balances = { package = "pallet-balances", path = "../../../frame/balances", default-features = false }
collective = { package = "pallet-collective", path = "../../../frame/collective", default-features = false }
contracts = { package = "pallet-contracts", path = "../../../frame/contracts", default-features = false }
contracts-rpc-runtime-api = { package = "pallet-contracts-rpc-runtime-api", path = "../../../frame/contracts/rpc/runtime-api/", default-features = false }
democracy = { package = "pallet-democracy", path = "../../../frame/democracy", default-features = false }
elections-phragmen = { package = "pallet-elections-phragmen", path = "../../../frame/elections-phragmen", default-features = false }
executive = { package = "frame-executive", path = "../../../frame/executive", default-features = false }
finality-tracker = { package = "pallet-finality-tracker", path = "../../../frame/finality-tracker", default-features = false }
grandpa = { package = "pallet-grandpa", path = "../../../frame/grandpa", default-features = false }
im-online = { package = "pallet-im-online", path = "../../../frame/im-online", default-features = false }
indices = { package = "pallet-indices", path = "../../../frame/indices", default-features = false }
membership = { package = "pallet-membership", path = "../../../frame/membership", default-features = false }
nicks = { package = "pallet-nicks", path = "../../../frame/nicks", default-features = false }
offences = { package = "pallet-offences", path = "../../../frame/offences", default-features = false }
randomness-collective-flip = { package = "pallet-randomness-collective-flip", path = "../../../frame/randomness-collective-flip", default-features = false }
session = { package = "pallet-session", path = "../../../frame/session", default-features = false, features = ["historical"] }
staking = { package = "pallet-staking", path = "../../../frame/staking", default-features = false, features = ["migrate"] }
pallet-staking-reward-curve = { path = "../../../frame/staking/reward-curve"}
sudo = { package = "pallet-sudo", path = "../../../frame/sudo", default-features = false }
support = { package = "frame-support", path = "../../../frame/support", default-features = false }
system = { package = "frame-system", path = "../../../frame/system", default-features = false }
system-rpc-runtime-api = { package = "frame-system-rpc-runtime-api", path = "../../../frame/system/rpc/runtime-api/", default-features = false }
timestamp = { package = "pallet-timestamp", path = "../../../frame/timestamp", default-features = false }
treasury = { package = "pallet-treasury", path = "../../../frame/treasury", default-features = false }
utility = { package = "frame-utility", path = "../../../frame/utility", default-features = false }
transaction-payment = { package = "pallet-transaction-payment", path = "../../../frame/transaction-payment", default-features = false }
transaction-payment-rpc-runtime-api = { package = "pallet-transaction-payment-rpc-runtime-api", path = "../../../frame/transaction-payment/rpc/runtime-api/", default-features = false }

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

[dev-dependencies]
runtime_io = { package = "sp-io", path = "../../../primitives/sr-io" }

[features]
default = ["std"]
std = [
	"authority-discovery-primitives/std",
	"authority-discovery/std",
	"authorship/std",
	"babe-primitives/std",
	"babe/std",
	"balances/std",
	"block-builder-api/std",
	"codec/std",
	"collective/std",
	"contracts-rpc-runtime-api/std",
	"contracts/std",
	"democracy/std",
	"elections-phragmen/std",
	"executive/std",
	"finality-tracker/std",
	"grandpa/std",
	"im-online/std",
	"indices/std",
	"inherents/std",
	"membership/std",
	"nicks/std",
	"node-primitives/std",
	"offchain-primitives/std",
	"offences/std",
	"primitives/std",
	"randomness-collective-flip/std",
	"rstd/std",
	"rustc-hex",
	"safe-mix/std",
	"serde",
	"session/std",
	"sp-api/std",
	"sp-runtime/std",
	"sp-staking/std",
	"staking/std",
	"sp-keyring",
	"sp-sesssion/std",
	"sudo/std",
	"support/std",
	"system-rpc-runtime-api/std",
	"system/std",
	"timestamp/std",
	"transaction-payment-rpc-runtime-api/std",
	"transaction-payment/std",
	"treasury/std",
	"txpool-runtime-api/std",
	"utility/std",
	"version/std",
]
