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

[dependencies]
9
parity-scale-codec = { version = "2.2.0", default-features = false, features = ["derive", "max-encoded-len"] }
10
serde = { version = "1.0.123", default-features = false }
11
serde_derive = { version = "1.0.117", optional = true }
12
smallvec = "1.6.1"
13
hex-literal = "0.3.1"
14
log = { version = "0.4.14", default-features = false }
Fedor Sakharov's avatar
Fedor Sakharov committed
15
16
17
18
19
20
21
22
23

frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
sp-api = { 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-std = { package = "sp-std", 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-session = { 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 }
24
sp-version = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
Fedor Sakharov's avatar
Fedor Sakharov committed
25
26
27
28
29
30

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

31
32
33
babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
beefy-primitives = { git = "https://github.com/paritytech/grandpa-bridge-gadget", branch = "master", default-features = false }
frame-executive = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
34
35
36
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 }
37
pallet-beefy = { git = "https://github.com/paritytech/grandpa-bridge-gadget", branch = "master", default-features = false }
38
pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
Gavin Wood's avatar
Gavin Wood committed
39
pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
40
pallet-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
41
42
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 }
43
pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
44
45
pallet-mmr = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-mmr-primitives = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
46
47
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 }
48
pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
49
pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
Fedor Sakharov's avatar
Fedor Sakharov committed
50
pallet-staking-reward-curve = { package = "pallet-staking-reward-curve", git = "https://github.com/paritytech/substrate", branch = "master" }
51
pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
52
53
pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-offences = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
54
55
pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
Fedor Sakharov's avatar
Fedor Sakharov committed
56
57
authority-discovery-primitives = { package = "sp-authority-discovery", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }

58
59
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 }
Fedor Sakharov's avatar
Fedor Sakharov committed
60
61
62
63
64
65

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 }
runtime-parachains = { package = "polkadot-runtime-parachains", path = "../parachains", default-features = false }

Shawn Tabrizi's avatar
Shawn Tabrizi committed
66
67
68
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 }
Gavin Wood's avatar
Gavin Wood committed
69
pallet-xcm = { path = "../../xcm/pallet-xcm", default-features = false }
Shawn Tabrizi's avatar
Shawn Tabrizi committed
70

71
# Bridge Dependencies
72
bp-messages = { path = "../../bridges/primitives/messages", default-features = false }
73
bp-rococo = { path = "../../bridges/primitives/chain-rococo", default-features = false }
74
bp-runtime = { path = "../../bridges/primitives/runtime", default-features = false }
75
bp-wococo = { path = "../../bridges/primitives/chain-wococo", default-features = false }
76
77
bridge-runtime-common = { path = "../../bridges/bin/runtime-common", default-features = false }
pallet-bridge-dispatch = { path = "../../bridges/modules/dispatch", default-features = false }
78
pallet-bridge-grandpa = { path = "../../bridges/modules/grandpa", default-features = false }
79
pallet-bridge-messages = { path = "../../bridges/modules/messages", default-features = false }
80

Fedor Sakharov's avatar
Fedor Sakharov committed
81
[build-dependencies]
82
substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "master" }
Fedor Sakharov's avatar
Fedor Sakharov committed
83
84
85
86
87
88

[features]
default = ["std"]
no_std = []
std = [
	"authority-discovery-primitives/std",
89
	"babe-primitives/std",
90
	"bp-messages/std",
91
	"bp-rococo/std",
92
	"bp-runtime/std",
93
	"bp-wococo/std",
94
	"bridge-runtime-common/std",
95
96
	"parity-scale-codec/std",
	"frame-executive/std",
97
98
99
	"pallet-authority-discovery/std",
	"pallet-authorship/std",
	"pallet-babe/std",
100
	"beefy-primitives/std",
101
	"pallet-balances/std",
102
	"pallet-bridge-dispatch/std",
103
	"pallet-bridge-grandpa/std",
104
	"pallet-bridge-messages/std",
Gavin Wood's avatar
Gavin Wood committed
105
	"pallet-collective/std",
106
	"pallet-beefy/std",
107
	"pallet-grandpa/std",
108
	"pallet-sudo/std",
109
	"pallet-membership/std",
110
111
	"pallet-mmr/std",
	"pallet-mmr-primitives/std",
112
113
	"pallet-indices/std",
	"pallet-im-online/std",
114
115
116
117
118
119
	"pallet-session/std",
	"pallet-staking/std",
	"pallet-offences/std",
	"pallet-timestamp/std",
	"pallet-transaction-payment/std",
	"pallet-transaction-payment-rpc-runtime-api/std",
Fedor Sakharov's avatar
Fedor Sakharov committed
120
121
122
123
124
125
126
127
128
129
130
131
132
	"inherents/std",
	"frame-support/std",
	"polkadot-parachain/std",
	"primitives/std",
	"runtime-common/std",
	"runtime-parachains/std",
	"sp-api/std",
	"sp-core/std",
	"sp-io/std",
	"sp-runtime/std",
	"sp-session/std",
	"sp-staking/std",
	"sp-std/std",
133
134
	"frame-system/std",
	"frame-system-rpc-runtime-api/std",
Fedor Sakharov's avatar
Fedor Sakharov committed
135
136
137
	"offchain-primitives/std",
	"block-builder-api/std",
	"tx-pool-api/std",
138
	"sp-version/std",
Fedor Sakharov's avatar
Fedor Sakharov committed
139
140
	"serde_derive",
	"serde/std",
Shawn Tabrizi's avatar
Shawn Tabrizi committed
141
142
143
	"xcm/std",
	"xcm-executor/std",
	"xcm-builder/std",
Gavin Wood's avatar
Gavin Wood committed
144
	"pallet-xcm/std",
145
	"log/std",
Fedor Sakharov's avatar
Fedor Sakharov committed
146
147
148
149
150
151
152
]
# 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 = []
153
154
155
156
157
158
159
runtime-benchmarks = [
	"runtime-common/runtime-benchmarks",
	"frame-support/runtime-benchmarks",
	"frame-system/runtime-benchmarks",
	"sp-runtime/runtime-benchmarks",
	"pallet-babe/runtime-benchmarks",
	"pallet-balances/runtime-benchmarks",
Gavin Wood's avatar
Gavin Wood committed
160
	"pallet-collective/runtime-benchmarks",
161
162
163
164
165
	"pallet-grandpa/runtime-benchmarks",
	"pallet-im-online/runtime-benchmarks",
	"pallet-indices/runtime-benchmarks",
	"pallet-staking/runtime-benchmarks",
	"pallet-timestamp/runtime-benchmarks",
Gavin Wood's avatar
Gavin Wood committed
166
167
	"pallet-xcm/runtime-benchmarks",
	"xcm-builder/runtime-benchmarks",
168
]
169
170
171
172
173
174
175
176
try-runtime = [
	"frame-executive/try-runtime",
	"frame-support/try-runtime",
	"frame-system/try-runtime",
	"pallet-authority-discovery/try-runtime",
	"pallet-authorship/try-runtime",
	"pallet-babe/try-runtime",
	"pallet-balances/try-runtime",
Gavin Wood's avatar
Gavin Wood committed
177
	"pallet-collective/try-runtime",
178
179
180
181
	"pallet-grandpa/try-runtime",
	"pallet-sudo/try-runtime",
	"pallet-indices/try-runtime",
	"pallet-im-online/try-runtime",
182
	"pallet-membership/try-runtime",
183
184
185
186
187
188
189
	"pallet-session/try-runtime",
	"pallet-staking/try-runtime",
	"pallet-offences/try-runtime",
	"pallet-timestamp/try-runtime",
	"pallet-transaction-payment/try-runtime",
	"runtime-common/try-runtime",
]