Cargo.toml 8.15 KB
Newer Older
Gav's avatar
Gav committed
1
2
[package]
name = "polkadot-runtime"
3
version = "0.7.18"
Gav's avatar
Gav committed
4
authors = ["Parity Technologies <admin@parity.io>"]
5
edition = "2018"
6
build = "build.rs"
Gav's avatar
Gav committed
7
8

[dependencies]
9
10
11
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
12
rustc-hex = { version = "2.0.1", default-features = false }
13
14
serde = { version = "1.0.102", default-features = false }
serde_derive = { version = "1.0.102", optional = true }
Gavin Wood's avatar
Gavin Wood committed
15

16
17
18
19
20
21
22
23
24
authority-discovery-primitives = { package = "sp-authority-discovery", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-master", default-features = false }
inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
offchain-primitives = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
rstd = { package = "sp-std", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
sp-staking = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
Gavin Wood's avatar
Gavin Wood committed
25
sp-session = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
26
version = { package = "sp-version", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
Gavin Wood's avatar
Gavin Wood committed
27
tx-pool-api = { package = "sp-transaction-pool", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
28
block-builder-api = { package = "sp-block-builder", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
Gavin Wood's avatar
Gavin Wood committed
29

30
31
32
33
34
35
36
37
38
39
40
41
authority-discovery = { package = "pallet-authority-discovery", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
authorship = { package = "pallet-authorship", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
babe = { package = "pallet-babe", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
balances = { package = "pallet-balances", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
transaction-payment = { package = "pallet-transaction-payment", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
collective = { package = "pallet-collective", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
democracy = { package = "pallet-democracy", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
elections-phragmen = { package = "pallet-elections-phragmen", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
executive = { package = "frame-executive", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
finality-tracker = { package = "pallet-finality-tracker", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
grandpa = { package = "pallet-grandpa", git = "https://github.com/paritytech/substrate", default-features = false, features = ["migrate-authorities"], branch = "polkadot-master" }
42
identity = { package = "pallet-identity", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
43
44
45
46
47
48
49
50
51
52
53
54
55
56
im-online = { package = "pallet-im-online", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
indices = { package = "pallet-indices", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
membership = { package = "pallet-membership", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
nicks = { package = "pallet-nicks", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
offences = { package = "pallet-offences", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
randomness-collective-flip = { package = "pallet-randomness-collective-flip", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
session = { package = "pallet-session", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
staking = { package = "pallet-staking", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
system = { package = "frame-system", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
system_rpc_runtime_api = { package = "frame-system-rpc-runtime-api", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
timestamp = { package = "pallet-timestamp", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
treasury = { package = "pallet-treasury", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
57
sudo = { package = "pallet-sudo", git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-master" }
Gavin Wood's avatar
Gavin Wood committed
58

59
60
61
runtime-common = { package = "polkadot-runtime-common", path = "../common", default-features = false }
primitives = { package = "polkadot-primitives", path = "../../primitives", default-features = false }
polkadot-parachain = { path = "../../parachain", default-features = false }
62

63
[dev-dependencies]
64
65
66
hex-literal = "0.2.1"
libsecp256k1 = "0.3.2"
tiny-keccak = "1.5.0"
67
68
keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
sp-trie = { git = "https://github.com/paritytech/substrate", branch = "polkadot-master" }
69
trie-db = "0.19.2"
70
serde_json = "1.0.41"
71
72

[build-dependencies]
73
wasm-builder-runner = { package = "substrate-wasm-builder-runner", version = "1.0.4" }
74

Gav's avatar
Gav committed
75
76
[features]
default = ["std"]
77
no_std = []
78
only-staking = []
Gav's avatar
Gav committed
79
std = [
80
81
	"authority-discovery-primitives/std",
	"authority-discovery/std",
82
	"bitvec/std",
83
	"primitives/std",
84
	"rustc-hex/std",
85
	"codec/std",
86
	"inherents/std",
87
	"sp-core/std",
88
	"polkadot-parachain/std",
89
	"sp-api/std",
Gavin Wood's avatar
Gavin Wood committed
90
91
	"tx-pool-api/std",
	"block-builder-api/std",
92
	"offchain-primitives/std",
93
	"rstd/std",
94
	"frame-support/std",
Gavin Wood's avatar
Gavin Wood committed
95
	"authorship/std",
96
	"balances/std",
97
	"transaction-payment/std",
98
	"pallet-transaction-payment-rpc-runtime-api/std",
99
	"collective/std",
100
	"elections-phragmen/std",
101
102
	"democracy/std",
	"executive/std",
Gavin Wood's avatar
Gavin Wood committed
103
	"finality-tracker/std",
104
	"grandpa/std",
105
	"identity/std",
106
	"im-online/std",
107
	"indices/std",
108
	"membership/std",
109
	"nicks/std",
110
	"offences/std",
111
112
	"sp-runtime/std",
	"sp-staking/std",
113
114
115
	"session/std",
	"staking/std",
	"system/std",
116
	"system_rpc_runtime_api/std",
117
118
119
	"timestamp/std",
	"treasury/std",
	"version/std",
120
121
122
	"serde_derive",
	"serde/std",
	"log",
123
124
	"babe/std",
	"babe-primitives/std",
Gavin Wood's avatar
Gavin Wood committed
125
	"sp-session/std",
126
	"randomness-collective-flip/std",
127
	"runtime-common/std",
128
	"sudo/std",
Gav's avatar
Gav committed
129
]