Cargo.toml 10.2 KB
Newer Older
Gav's avatar
Gav committed
1
[package]
2
name = "kusama-runtime"
3
version = "0.8.27"
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
bitvec = { version = "0.17.4", default-features = false, features = ["alloc"] }
10
11
12
parity-scale-codec = { version = "1.3.5", default-features = false, features = ["derive"] }
log = { version = "0.4.11", optional = true }
rustc-hex = { version = "2.1.0", default-features = false }
13
serde = { version = "1.0.118", default-features = false }
14
serde_derive = { version = "1.0.117", optional = true }
15
static_assertions = "1.1.0"
16
smallvec = "1.5.1"
Gavin Wood's avatar
Gavin Wood committed
17

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

33
34
35
36
pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
37
pallet-bounties = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-elections-phragmen = { package = "pallet-elections-phragmen", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
frame-executive = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-identity = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-im-online = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-indices = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-nicks = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-offences = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-recovery = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-society = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
58
frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
59
pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
Gavin Wood's avatar
Gavin Wood committed
60
pallet-staking-reward-curve = { package = "pallet-staking-reward-curve", git = "https://github.com/paritytech/substrate", branch = "master" }
61
62
63
frame-system = {git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
64
pallet-tips = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
65
66
67
pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-vesting = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
68

69
frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true }
70
71
pallet-offences-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true }
pallet-session-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true }
72
frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true }
73
hex-literal = { version = "0.3.1", optional = true }
Gavin Wood's avatar
Gavin Wood committed
74

75
76
runtime-common = { package = "polkadot-runtime-common", path = "../common", default-features = false }
primitives = { package = "polkadot-primitives", path = "../../primitives", default-features = false }
77

78
[dev-dependencies]
79
80
81
hex-literal = "0.3.1"
libsecp256k1 = "0.3.5"
tiny-keccak = "2.0.2"
82
83
keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "master" }
sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" }
84
separator = "0.4.1"
85
serde_json = "1.0.60"
86
87

[build-dependencies]
88
substrate-wasm-builder = "3.0.0"
89

Gav's avatar
Gav committed
90
91
[features]
default = ["std"]
92
no_std = []
93
only-staking = []
Gav's avatar
Gav committed
94
std = [
95
	"authority-discovery-primitives/std",
96
	"pallet-authority-discovery/std",
97
	"bitvec/std",
98
	"primitives/std",
99
	"rustc-hex/std",
100
	"parity-scale-codec/std",
101
	"inherents/std",
102
103
	"sp-core/std",
	"sp-api/std",
Gavin Wood's avatar
Gavin Wood committed
104
105
	"tx-pool-api/std",
	"block-builder-api/std",
106
	"offchain-primitives/std",
107
	"sp-std/std",
108
	"sp-io/std",
109
	"frame-support/std",
110
111
	"pallet-authorship/std",
	"pallet-balances/std",
112
	"pallet-bounties/std",
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
	"pallet-transaction-payment/std",
	"pallet-transaction-payment-rpc-runtime-api/std",
	"pallet-collective/std",
	"pallet-elections-phragmen/std",
	"pallet-democracy/std",
	"frame-executive/std",
	"pallet-grandpa/std",
	"pallet-identity/std",
	"pallet-im-online/std",
	"pallet-indices/std",
	"pallet-membership/std",
	"pallet-multisig/std",
	"pallet-nicks/std",
	"pallet-offences/std",
	"pallet-proxy/std",
	"pallet-recovery/std",
129
130
	"sp-runtime/std",
	"sp-staking/std",
131
132
133
134
135
136
137
	"pallet-scheduler/std",
	"pallet-session/std",
	"pallet-society/std",
	"pallet-staking/std",
	"frame-system/std",
	"frame-system-rpc-runtime-api/std",
	"pallet-timestamp/std",
138
	"pallet-tips/std",
139
140
141
142
	"pallet-treasury/std",
	"sp-version/std",
	"pallet-utility/std",
	"pallet-vesting/std",
143
144
145
	"serde_derive",
	"serde/std",
	"log",
146
	"pallet-babe/std",
147
	"babe-primitives/std",
Gavin Wood's avatar
Gavin Wood committed
148
	"sp-session/std",
149
	"pallet-randomness-collective-flip/std",
150
	"runtime-common/std",
Gav's avatar
Gav committed
151
]
152
runtime-benchmarks = [
153
	"runtime-common/runtime-benchmarks",
154
155
	"frame-benchmarking",
	"frame-support/runtime-benchmarks",
156
	"frame-system/runtime-benchmarks",
157
	"sp-runtime/runtime-benchmarks",
158
	"pallet-babe/runtime-benchmarks",
159
	"pallet-balances/runtime-benchmarks",
160
	"pallet-bounties/runtime-benchmarks",
161
162
163
	"pallet-collective/runtime-benchmarks",
	"pallet-democracy/runtime-benchmarks",
	"pallet-elections-phragmen/runtime-benchmarks",
164
	"pallet-grandpa/runtime-benchmarks",
165
166
	"pallet-identity/runtime-benchmarks",
	"pallet-im-online/runtime-benchmarks",
167
168
169
	"pallet-indices/runtime-benchmarks",
	"pallet-multisig/runtime-benchmarks",
	"pallet-proxy/runtime-benchmarks",
170
171
172
173
	"pallet-scheduler/runtime-benchmarks",
	"pallet-society/runtime-benchmarks",
	"pallet-staking/runtime-benchmarks",
	"pallet-timestamp/runtime-benchmarks",
174
	"pallet-tips/runtime-benchmarks",
175
176
177
	"pallet-treasury/runtime-benchmarks",
	"pallet-utility/runtime-benchmarks",
	"pallet-vesting/runtime-benchmarks",
178
179
	"pallet-offences-benchmarking",
	"pallet-session-benchmarking",
180
	"frame-system-benchmarking",
181
	"hex-literal",
182
]
183

184
185
186
187
188
189
# When enabled, the runtime api will not be build.
#
# This is required by Cumulus to access certain types of the
# runtime without clashing with the runtime api exported functions
# in WASM.
disable-runtime-api = []