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

[dependencies]
9
10
bitvec = { version = "0.20.1", default-features = false, features = ["alloc"] }
parity-scale-codec = { version = "2.0.0", default-features = false, features = ["derive"] }
11
log = { version = "0.4.14", default-features = false }
12
rustc-hex = { version = "2.1.0", default-features = false }
13
serde = { version = "1.0.123", default-features = false }
14
serde_derive = { version = "1.0.117", optional = true }
15
smallvec = "1.6.1"
16
static_assertions = "1.1.0"
ddorgan's avatar
ddorgan committed
17
18
19
20
21

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 }
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
32
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 }

33
34
35
36
37
38
39
40
41
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-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 }
42
pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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 }
ddorgan's avatar
ddorgan committed
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 }
ddorgan's avatar
ddorgan 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
67
pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
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 }
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

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

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

[dev-dependencies]
82
83
84
hex-literal = "0.3.1"
libsecp256k1 = "0.3.5"
tiny-keccak = "2.0.2"
ddorgan's avatar
ddorgan committed
85
86
keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "master" }
sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" }
87
serde_json = "1.0.61"
ddorgan's avatar
ddorgan committed
88
89

[build-dependencies]
90
substrate-wasm-builder = "3.0.0"
ddorgan's avatar
ddorgan committed
91
92
93
94
95
96
97

[features]
default = ["std"]
no_std = []
only-staking = []
std = [
	"authority-discovery-primitives/std",
98
	"pallet-authority-discovery/std",
ddorgan's avatar
ddorgan committed
99
100
101
	"bitvec/std",
	"primitives/std",
	"rustc-hex/std",
102
	"parity-scale-codec/std",
ddorgan's avatar
ddorgan committed
103
104
105
106
107
108
109
110
111
112
	"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",
113
114
115
116
117
118
	"pallet-authorship/std",
	"pallet-balances/std",
	"pallet-transaction-payment/std",
	"pallet-transaction-payment-rpc-runtime-api/std",
	"pallet-collective/std",
	"pallet-elections-phragmen/std",
119
	"pallet-election-provider-multi-phase/std",
120
121
122
123
124
125
126
127
128
129
130
131
	"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",
ddorgan's avatar
ddorgan committed
132
133
	"sp-runtime/std",
	"sp-staking/std",
134
135
136
137
138
139
140
141
142
143
144
145
	"pallet-scheduler/std",
	"pallet-session/std",
	"pallet-society/std",
	"pallet-staking/std",
	"pallet-sudo/std",
	"frame-system/std",
	"frame-system-rpc-runtime-api/std",
	"pallet-timestamp/std",
	"pallet-treasury/std",
	"sp-version/std",
	"pallet-utility/std",
	"pallet-vesting/std",
ddorgan's avatar
ddorgan committed
146
147
	"serde_derive",
	"serde/std",
148
	"log/std",
149
	"pallet-babe/std",
ddorgan's avatar
ddorgan committed
150
151
	"babe-primitives/std",
	"sp-session/std",
152
	"pallet-randomness-collective-flip/std",
ddorgan's avatar
ddorgan committed
153
154
155
	"runtime-common/std",
]
runtime-benchmarks = [
156
	"runtime-common/runtime-benchmarks",
ddorgan's avatar
ddorgan committed
157
158
	"frame-benchmarking",
	"frame-support/runtime-benchmarks",
159
	"frame-system/runtime-benchmarks",
160
	"sp-runtime/runtime-benchmarks",
161
	"pallet-babe/runtime-benchmarks",
162
163
164
165
	"pallet-balances/runtime-benchmarks",
	"pallet-collective/runtime-benchmarks",
	"pallet-democracy/runtime-benchmarks",
	"pallet-elections-phragmen/runtime-benchmarks",
166
	"pallet-election-provider-multi-phase/runtime-benchmarks",
167
	"pallet-grandpa/runtime-benchmarks",
168
169
	"pallet-identity/runtime-benchmarks",
	"pallet-im-online/runtime-benchmarks",
170
171
172
	"pallet-indices/runtime-benchmarks",
	"pallet-multisig/runtime-benchmarks",
	"pallet-proxy/runtime-benchmarks",
173
174
175
176
177
178
179
	"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",
180
181
	"pallet-offences-benchmarking",
	"pallet-session-benchmarking",
182
183
	"frame-system-benchmarking",
	"hex-literal",
ddorgan's avatar
ddorgan committed
184
]
Kian Paimani's avatar
Kian Paimani committed
185
186
187
188
try-runtime = [
	"frame-executive/try-runtime",
	"frame-try-runtime",
]
189
190
191
192
193
194
# 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 = []