Cargo.toml 8.79 KiB
Newer Older
[package]
name = "polkadot-runtime"
Gavin Wood's avatar
Gavin Wood committed
version = "0.7.1"
authors = ["Parity Technologies <[email protected]>"]
edition = "2018"
build = "build.rs"

[dependencies]
bitvec = { version = "0.15.2", default-features = false, features = ["alloc"] }
codec = { package = "parity-scale-codec", version = "1.1.0", default-features = false, features = ["derive"] }
log = { version = "0.3.9", optional = true }
Gavin Wood's avatar
Gavin Wood committed
rustc-hex = { version = "2.0.1", default-features = false }
safe-mix = { version = "1.0.0", default-features = false }
serde = { version = "1.0.102", default-features = false }
serde_derive = { version = "1.0.102", optional = true }
Gavin Wood's avatar
Gavin Wood committed

Ashley's avatar
Ashley committed
authority-discovery-primitives = { package = "substrate-authority-discovery-primitives", git = "https://github.com/paritytech/substrate", default-features = false, branch = "ashley-update-exit-future" }
babe-primitives = { package = "substrate-consensus-babe-primitives", git = "https://github.com/paritytech/substrate", default-features = false, branch = "ashley-update-exit-future" }
sr-api = { git = "https://github.com/paritytech/substrate", branch = "ashley-update-exit-future", default-features = false }
inherents = { package = "substrate-inherents", git = "https://github.com/paritytech/substrate", default-features = false, branch = "ashley-update-exit-future" }
offchain-primitives = { package = "substrate-offchain-primitives", git = "https://github.com/paritytech/substrate", default-features = false, branch = "ashley-update-exit-future" }
rstd = { package = "sr-std", git = "https://github.com/paritytech/substrate", default-features = false, branch = "ashley-update-exit-future" }
sr-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "ashley-update-exit-future" }
sr-primitives = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "ashley-update-exit-future" }
sr-staking-primitives = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "ashley-update-exit-future" }
substrate-primitives = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "ashley-update-exit-future" }
substrate-serializer = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "ashley-update-exit-future" }
substrate-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "ashley-update-exit-future" }
version = { package = "sr-version", git = "https://github.com/paritytech/substrate", default-features = false, branch = "ashley-update-exit-future" }
tx-pool-api = { package = "sp-transaction-pool-runtime-api", git = "https://github.com/paritytech/substrate", default-features = false, branch = "ashley-update-exit-future" }
block-builder-api = { package = "substrate-block-builder-runtime-api", git = "https://github.com/paritytech/substrate", default-features = false, branch = "ashley-update-exit-future" }
Gavin Wood's avatar
Gavin Wood committed

Ashley's avatar
Ashley committed
authority-discovery = { package = "pallet-authority-discovery", git = "https://github.com/paritytech/substrate", default-features = false, branch = "ashley-update-exit-future" }
authorship = { package = "pallet-authorship", git = "https://github.com/paritytech/substrate", default-features = false, branch = "ashley-update-exit-future" }
babe = { package = "pallet-babe", git = "https://github.com/paritytech/substrate", default-features = false, branch = "ashley-update-exit-future" }
balances = { package = "pallet-balances", git = "https://github.com/paritytech/substrate", default-features = false, branch = "ashley-update-exit-future" }
transaction-payment = { package = "pallet-transaction-payment", git = "https://github.com/paritytech/substrate", default-features = false, branch = "ashley-update-exit-future" }
pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "ashley-update-exit-future" }
collective = { package = "pallet-collective", git = "https://github.com/paritytech/substrate", default-features = false, branch = "ashley-update-exit-future" }
democracy = { package = "pallet-democracy", git = "https://github.com/paritytech/substrate", default-features = false, branch = "ashley-update-exit-future" }
elections-phragmen = { package = "pallet-elections-phragmen", git = "https://github.com/paritytech/substrate", default-features = false, branch = "ashley-update-exit-future" }
executive = { package = "frame-executive", git = "https://github.com/paritytech/substrate", default-features = false, branch = "ashley-update-exit-future" }
finality-tracker = { package = "pallet-finality-tracker", git = "https://github.com/paritytech/substrate", default-features = false, branch = "ashley-update-exit-future" }
grandpa = { package = "pallet-grandpa", git = "https://github.com/paritytech/substrate", default-features = false, features = ["migrate-authorities"], branch = "ashley-update-exit-future" }
im-online = { package = "pallet-im-online", git = "https://github.com/paritytech/substrate", default-features = false, branch = "ashley-update-exit-future" }
indices = { package = "pallet-indices", git = "https://github.com/paritytech/substrate", default-features = false, branch = "ashley-update-exit-future" }
membership = { package = "pallet-membership", git = "https://github.com/paritytech/substrate", default-features = false, branch = "ashley-update-exit-future" }
nicks = { package = "pallet-nicks", git = "https://github.com/paritytech/substrate", default-features = false, branch = "ashley-update-exit-future" }
offences = { package = "pallet-offences", git = "https://github.com/paritytech/substrate", default-features = false, branch = "ashley-update-exit-future" }
randomness-collective-flip = { package = "pallet-randomness-collective-flip", git = "https://github.com/paritytech/substrate", default-features = false, branch = "ashley-update-exit-future" }
session = { package = "pallet-session", git = "https://github.com/paritytech/substrate", default-features = false, branch = "ashley-update-exit-future" }
frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "ashley-update-exit-future" }
staking = { package = "pallet-staking", git = "https://github.com/paritytech/substrate", default-features = false, branch = "ashley-update-exit-future" }
pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "ashley-update-exit-future" }
sudo = { package = "pallet-sudo", git = "https://github.com/paritytech/substrate", default-features = false, branch = "ashley-update-exit-future" }
system = { package = "frame-system", git = "https://github.com/paritytech/substrate", default-features = false, branch = "ashley-update-exit-future" }
system_rpc_runtime_api = { package = "frame-system-rpc-runtime-api", git = "https://github.com/paritytech/substrate", default-features = false, branch = "ashley-update-exit-future" }
timestamp = { package = "pallet-timestamp", git = "https://github.com/paritytech/substrate", default-features = false, branch = "ashley-update-exit-future" }
treasury = { package = "pallet-treasury", git = "https://github.com/paritytech/substrate", default-features = false, branch = "ashley-update-exit-future" }
Gavin Wood's avatar
Gavin Wood committed

primitives = { package = "polkadot-primitives", path = "../primitives", default-features = false }
polkadot-parachain = { path = "../parachain", default-features = false }
[dev-dependencies]
hex-literal = "0.2.1"
libsecp256k1 = "0.3.2"
tiny-keccak = "1.5.0"
Ashley's avatar
Ashley committed
keyring = { package = "substrate-keyring", git = "https://github.com/paritytech/substrate", branch = "ashley-update-exit-future" }
substrate-trie = { git = "https://github.com/paritytech/substrate", branch = "ashley-update-exit-future" }
trie-db = "0.16.0"

[build-dependencies]
wasm-builder-runner = { package = "substrate-wasm-builder-runner", version = "1.0.4" }
[features]
default = ["std"]
std = [
	"authority-discovery-primitives/std",
	"authority-discovery/std",
	"primitives/std",
	"rustc-hex/std",
	"inherents/std",
	"substrate-primitives/std",
	"polkadot-parachain/std",
Gavin Wood's avatar
Gavin Wood committed
	"sr-api/std",
	"tx-pool-api/std",
	"block-builder-api/std",
	"offchain-primitives/std",
	"rstd/std",
	"frame-support/std",
	"authorship/std",
	"balances/std",
	"transaction-payment/std",
	"pallet-transaction-payment-rpc-runtime-api/std",
	"collective/std",
	"elections-phragmen/std",
	"democracy/std",
	"executive/std",
	"finality-tracker/std",
	"grandpa/std",
	"im-online/std",
	"indices/std",
	"membership/std",
	"sr-staking-primitives/std",
	"session/std",
	"staking/std",
	"sudo/std",
	"system/std",
	"system_rpc_runtime_api/std",
	"timestamp/std",
	"treasury/std",
	"version/std",
	"serde_derive",
	"serde/std",
	"log",
	"babe/std",
	"babe-primitives/std",
	"randomness-collective-flip/std",