Cargo.toml 13.4 KB
Newer Older
Gav's avatar
Gav committed
1
[package]
2
name = "kusama-runtime"
3
version = "0.9.9"
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.20.1", default-features = false, features = ["alloc"] }
10
parity-scale-codec = { version = "2.2.0", default-features = false, features = ["derive", "max-encoded-len"] }
11
log = { version = "0.4.14", default-features = false }
12
rustc-hex = { version = "2.1.0", default-features = false }
13
serde = { version = "1.0.130", default-features = false }
14
serde_derive = { version = "1.0.117", optional = true }
15
static_assertions = "1.1.0"
16
smallvec = "1.6.1"
Gavin Wood's avatar
Gavin Wood committed
17

18
19
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 }
20
beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", branch = "master", default-features = false }
21
22
23
24
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 }
25
sp-arithmetic = { package = "sp-arithmetic", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
26
27
28
29
30
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 }
31
sp-version = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
32
33
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 }
34
sp-npos-elections = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
Gavin Wood's avatar
Gavin Wood committed
35

36
37
38
39
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 }
40
pallet-bounties = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
41
42
43
44
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 }
45
46
pallet-elections-phragmen = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
47
48
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 }
49
pallet-gilt = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
50
51
52
53
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 }
54
pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
55
56
57
58
59
60
61
62
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-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 }
63
frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
64
pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
65
pallet-staking-reward-fn = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
66
67
68
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 }
69
pallet-tips = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
70
71
72
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 }
73
pallet-xcm = { path = "../../xcm/pallet-xcm", default-features = false }
74
frame-election-provider-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
75

76
frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true }
Kian Paimani's avatar
Kian Paimani committed
77
frame-try-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true }
78
79
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 }
80
frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true }
81
hex-literal = { version = "0.3.3", optional = true }
Gavin Wood's avatar
Gavin Wood committed
82

83
runtime-common = { package = "polkadot-runtime-common", path = "../common", default-features = false }
84
runtime-parachains = { package = "polkadot-runtime-parachains", path = "../parachains", default-features = false }
85
primitives = { package = "polkadot-primitives", path = "../../primitives", default-features = false }
86

87
88
89
90
xcm = { package = "xcm", path = "../../xcm", default-features = false }
xcm-executor = { package = "xcm-executor", path = "../../xcm/xcm-executor", default-features = false }
xcm-builder = { package = "xcm-builder", path = "../../xcm/xcm-builder", default-features = false }

91
[dev-dependencies]
92
hex-literal = "0.3.3"
93
tiny-keccak = "2.0.2"
94
95
keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "master" }
sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" }
96
separator = "0.4.1"
97
serde_json = "1.0.67"
98
99

[build-dependencies]
100
substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "master" }
101

Gav's avatar
Gav committed
102
103
[features]
default = ["std"]
104
no_std = []
105
only-staking = []
Gav's avatar
Gav committed
106
std = [
107
	"authority-discovery-primitives/std",
108
	"bitvec/std",
109
	"primitives/std",
110
	"rustc-hex/std",
111
	"parity-scale-codec/std",
112
	"inherents/std",
113
114
	"sp-core/std",
	"sp-api/std",
Gavin Wood's avatar
Gavin Wood committed
115
116
	"tx-pool-api/std",
	"block-builder-api/std",
117
	"offchain-primitives/std",
118
	"sp-std/std",
119
	"sp-io/std",
120
	"frame-support/std",
121
122
	"frame-executive/std",
	"pallet-authority-discovery/std",
123
124
	"pallet-authorship/std",
	"pallet-balances/std",
125
	"pallet-bounties/std",
126
127
128
129
	"pallet-transaction-payment/std",
	"pallet-transaction-payment-rpc-runtime-api/std",
	"pallet-collective/std",
	"pallet-elections-phragmen/std",
130
	"pallet-election-provider-multi-phase/std",
131
	"pallet-democracy/std",
132
	"pallet-gilt/std",
133
134
135
136
137
138
139
140
141
142
143
144
145
146
	"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",
	"pallet-scheduler/std",
	"pallet-session/std",
	"pallet-society/std",
	"pallet-staking/std",
147
	"pallet-staking-reward-fn/std",
148
	"pallet-timestamp/std",
149
	"pallet-tips/std",
150
151
152
	"pallet-treasury/std",
	"pallet-utility/std",
	"pallet-vesting/std",
153
	"pallet-babe/std",
154
	"pallet-xcm/std",
155
156
157
158
159
	"sp-runtime/std",
	"sp-staking/std",
	"frame-system/std",
	"frame-system-rpc-runtime-api/std",
	"sp-version/std",
160
161
	"serde_derive",
	"serde/std",
162
	"log/std",
163
	"babe-primitives/std",
Gavin Wood's avatar
Gavin Wood committed
164
	"sp-session/std",
165
	"runtime-common/std",
166
	"runtime-parachains/std",
167
	"frame-try-runtime/std",
168
	"sp-npos-elections/std",
169
170
	"beefy-primitives/std",
	"pallet-mmr-primitives/std",
171
172
173
	"xcm/std",
	"xcm-executor/std",
	"xcm-builder/std",
174
	"frame-election-provider-support/std",
Gav's avatar
Gav committed
175
]
176
runtime-benchmarks = [
177
	"runtime-common/runtime-benchmarks",
178
179
	"frame-benchmarking",
	"frame-support/runtime-benchmarks",
180
	"frame-system/runtime-benchmarks",
181
	"sp-runtime/runtime-benchmarks",
182
	"pallet-babe/runtime-benchmarks",
183
	"pallet-balances/runtime-benchmarks",
184
	"pallet-bounties/runtime-benchmarks",
185
186
187
	"pallet-collective/runtime-benchmarks",
	"pallet-democracy/runtime-benchmarks",
	"pallet-elections-phragmen/runtime-benchmarks",
188
	"pallet-election-provider-multi-phase/runtime-benchmarks",
189
	"pallet-gilt/runtime-benchmarks",
190
	"pallet-grandpa/runtime-benchmarks",
191
192
	"pallet-identity/runtime-benchmarks",
	"pallet-im-online/runtime-benchmarks",
193
	"pallet-indices/runtime-benchmarks",
194
	"pallet-membership/runtime-benchmarks",
195
196
	"pallet-multisig/runtime-benchmarks",
	"pallet-proxy/runtime-benchmarks",
197
198
199
200
	"pallet-scheduler/runtime-benchmarks",
	"pallet-society/runtime-benchmarks",
	"pallet-staking/runtime-benchmarks",
	"pallet-timestamp/runtime-benchmarks",
201
	"pallet-tips/runtime-benchmarks",
202
203
204
	"pallet-treasury/runtime-benchmarks",
	"pallet-utility/runtime-benchmarks",
	"pallet-vesting/runtime-benchmarks",
205
206
	"pallet-offences-benchmarking",
	"pallet-session-benchmarking",
207
	"pallet-xcm/runtime-benchmarks",
208
	"frame-system-benchmarking",
209
	"hex-literal",
210
	"xcm-builder/runtime-benchmarks",
211
	"frame-election-provider-support/runtime-benchmarks",
212
]
Kian Paimani's avatar
Kian Paimani committed
213
214
215
try-runtime = [
	"frame-executive/try-runtime",
	"frame-try-runtime",
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
	"frame-system/try-runtime",
	"pallet-authority-discovery/try-runtime",
	"pallet-authorship/try-runtime",
	"pallet-balances/try-runtime",
	"pallet-bounties/try-runtime",
	"pallet-transaction-payment/try-runtime",
	"pallet-collective/try-runtime",
	"pallet-elections-phragmen/try-runtime",
	"pallet-election-provider-multi-phase/try-runtime",
	"pallet-democracy/try-runtime",
	"pallet-grandpa/try-runtime",
	"pallet-identity/try-runtime",
	"pallet-im-online/try-runtime",
	"pallet-indices/try-runtime",
	"pallet-membership/try-runtime",
	"pallet-multisig/try-runtime",
	"pallet-nicks/try-runtime",
	"pallet-offences/try-runtime",
	"pallet-proxy/try-runtime",
	"pallet-recovery/try-runtime",
	"pallet-scheduler/try-runtime",
	"pallet-session/try-runtime",
	"pallet-society/try-runtime",
	"pallet-staking/try-runtime",
	"pallet-timestamp/try-runtime",
	"pallet-tips/try-runtime",
	"pallet-treasury/try-runtime",
	"pallet-utility/try-runtime",
	"pallet-vesting/try-runtime",
	"pallet-babe/try-runtime",
	"runtime-common/try-runtime",
Kian Paimani's avatar
Kian Paimani committed
247
]
Denis_P's avatar
Denis_P committed
248
# When enabled, the runtime API will not be build.
249
250
#
# This is required by Cumulus to access certain types of the
Denis_P's avatar
Denis_P committed
251
# runtime without clashing with the runtime API exported functions
252
253
# in WASM.
disable-runtime-api = []
254
255
256
257
258
259
260

# A feature that should be enabled when the runtime should be build for on-chain
# deployment. This will disable stuff that shouldn't be part of the on-chain wasm
# to make it smaller like logging for example.
on-chain-release-build = [
	"sp-api/disable-logging",
]