Cargo.toml 9.74 KB
Newer Older
Gav's avatar
Gav committed
1
[package]
2
name = "kusama-runtime"
Gavin Wood's avatar
Gavin Wood committed
3
version = "0.8.2"
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
bitvec = { version = "0.17.4", default-features = false, features = ["alloc"] }
codec = { package = "parity-scale-codec", version = "1.3.0", 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"
16
smallvec = "1.4.0"
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
49
50
51
52
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 }
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 }
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
53
scheduler = { package = "pallet-scheduler", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
54
55
56
57
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
58
pallet-staking-reward-curve = { package = "pallet-staking-reward-curve", git = "https://github.com/paritytech/substrate", branch = "master" }
59
60
61
62
63
64
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 }
65

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

71
72
runtime-common = { package = "polkadot-runtime-common", path = "../common", default-features = false }
primitives = { package = "polkadot-primitives", path = "../../primitives", default-features = false }
73

74
[dev-dependencies]
75
76
77
hex-literal = "0.2.1"
libsecp256k1 = "0.3.2"
tiny-keccak = "1.5.0"
78
79
keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "master" }
sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" }
Gavin Wood's avatar
Gavin Wood committed
80
trie-db = "0.20.0"
81
serde_json = "1.0.41"
82
83

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

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