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

[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
smallvec = "1.6.1"
ddorgan's avatar
ddorgan committed
16
17
18

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 }
19
beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", branch = "master", default-features = false }
ddorgan's avatar
ddorgan committed
20
21
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 }
22
sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
ddorgan's avatar
ddorgan committed
23
24
25
26
27
28
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 }
ddorgan's avatar
ddorgan committed
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 }
32
sp-npos-elections = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
ddorgan's avatar
ddorgan committed
33

34
frame-election-provider-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
35
36
frame-executive = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
Squirrel's avatar
Squirrel committed
37
frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
38
frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
39
40
41
42
43
44
45
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 }
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 }
46
pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
47
48
49
50
51
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 }
52
pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
53
54
55
56
57
58
59
60
61
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 }
pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
ddorgan's avatar
ddorgan committed
62
pallet-staking-reward-curve = { package = "pallet-staking-reward-curve", git = "https://github.com/paritytech/substrate", branch = "master" }
63
64
pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
65
66
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 }
67
68
69
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 }
70
pallet-xcm = { path = "../../xcm/pallet-xcm", default-features = false }
71

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

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 }
82
runtime-parachains = { package = "polkadot-runtime-parachains", path = "../parachains", default-features = false }
ddorgan's avatar
ddorgan committed
83

84
85
86
87
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 }

ddorgan's avatar
ddorgan committed
88
[dev-dependencies]
89
hex-literal = "0.3.3"
90
tiny-keccak = "2.0.2"
ddorgan's avatar
ddorgan committed
91
92
keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "master" }
sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" }
93
serde_json = "1.0.67"
ddorgan's avatar
ddorgan committed
94
95

[build-dependencies]
96
substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "master" }
ddorgan's avatar
ddorgan committed
97
98
99
100
101
102
103
104
105
106

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