Cargo.toml 10.3 KB
Newer Older
Gav's avatar
Gav committed
1
[package]
2
name = "kusama-runtime"
3
version = "0.8.22"
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
codec = { package = "parity-scale-codec", version = "1.3.4", default-features = false, features = ["derive"] }
11
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 }
15
static_assertions = "1.1.0"
Bastian Köcher's avatar
Bastian Köcher committed
16
smallvec = "1.4.1"
Gavin Wood's avatar
Gavin Wood committed
17

18
19
20
21
22
23
24
25
26
27
28
29
30
31
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 }
version = { package = "sp-version", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
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
37
authority-discovery = { package = "pallet-authority-discovery", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
authorship = { package = "pallet-authorship", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
babe = { package = "pallet-babe", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
balances = { package = "pallet-balances", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
transaction-payment = { package = "pallet-transaction-payment", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
Gavin Wood's avatar
Gavin Wood committed
38
transaction-payment-rpc-runtime-api = { package = "pallet-transaction-payment-rpc-runtime-api", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
39
40
41
42
43
44
45
46
47
48
collective = { package = "pallet-collective", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
democracy = { package = "pallet-democracy", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
elections-phragmen = { package = "pallet-elections-phragmen", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
executive = { package = "frame-executive", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
finality-tracker = { package = "pallet-finality-tracker", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
grandpa = { package = "pallet-grandpa", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
identity = { package = "pallet-identity", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
im-online = { package = "pallet-im-online", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
indices = { package = "pallet-indices", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
membership = { package = "pallet-membership", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
49
multisig = { package = "pallet-multisig", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
50
51
nicks = { package = "pallet-nicks", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
offences = { package = "pallet-offences", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
52
proxy = { package = "pallet-proxy", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
53
54
randomness-collective-flip = { package = "pallet-randomness-collective-flip", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
recovery = { package = "pallet-recovery", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
Gavin Wood's avatar
Gavin Wood committed
55
scheduler = { package = "pallet-scheduler", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
56
57
58
59
session = { package = "pallet-session", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
society = { package = "pallet-society", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
staking = { package = "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
64
65
66
system = { package = "frame-system", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
system_rpc_runtime_api = { package = "frame-system-rpc-runtime-api", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
timestamp = { package = "pallet-timestamp", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
treasury = { package = "pallet-treasury", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
utility = { package = "pallet-utility", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
vesting = { package = "pallet-vesting", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
67

68
frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true }
69
70
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 }
71
frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true }
72
hex-literal = { version = "0.2.1", optional = true }
Gavin Wood's avatar
Gavin Wood committed
73

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

77
[dev-dependencies]
78
79
80
hex-literal = "0.2.1"
libsecp256k1 = "0.3.2"
tiny-keccak = "1.5.0"
81
82
keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "master" }
sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" }
83
serde_json = "1.0.41"
84
85

[build-dependencies]
86
wasm-builder-runner = { package = "substrate-wasm-builder-runner", version = "1.0.6" }
87

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