forked from PolymeshAssociation/Polymesh
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
256 lines (244 loc) · 14.1 KB
/
Cargo.toml
File metadata and controls
256 lines (244 loc) · 14.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
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
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
[package]
name = "polymesh"
version = "3.0.1"
authors = ["Polymath"]
build = "build.rs"
edition = "2018"
[[bin]]
name = "polymesh"
path = "src/main.rs"
# Path build to use our Substrate version from github, tag `v2.0.1-2`.
[patch.crates-io]
frame-benchmarking = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
frame-benchmarking-cli = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
frame-executive = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
frame-support = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
frame-system = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
frame-system-benchmarking = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
frame-system-rpc-runtime-api = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
pallet-authority-discovery = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
pallet-authorship = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
pallet-babe = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
pallet-balances = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
#pallet-contracts = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
#pallet-contracts-primitives = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
#pallet-contracts-rpc = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
#pallet-contracts-rpc-runtime-api = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
pallet-grandpa = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
pallet-im-online = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
pallet-indices = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
pallet-offences = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
pallet-randomness-collective-flip = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
pallet-scheduler = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
pallet-session = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
pallet-staking-reward-curve = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
pallet-timestamp = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
pallet-treasury = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sc-authority-discovery = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sc-basic-authorship = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sc-block-builder = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sc-chain-spec = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sc-cli = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sc-client-api = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sc-client-db = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sc-consensus = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sc-consensus-babe = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sc-consensus-babe-rpc = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sc-consensus-epochs = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sc-consensus-slots = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sc-executor = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sc-finality-grandpa = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sc-finality-grandpa-rpc = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sc-keystore = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sc-light = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sc-network = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sc-rpc = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sc-rpc-api = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sc-service = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sc-telemetry = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sc-transaction-pool = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sp-api = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sp-application-crypto = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sp-arithmetic = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sp-authority-discovery = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sp-block-builder = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sp-blockchain = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sp-consensus = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sp-consensus-babe = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sp-consensus-slots = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sp-core = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sp-externalities = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sp-finality-grandpa = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sp-inherents = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sp-io = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sp-keystore = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sp-keyring = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sp-npos-elections = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sp-npos-elections-compact = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sp-offchain = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sp-rpc = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sp-runtime = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sp-runtime-interface = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sp-serializer = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sp-session = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sp-staking = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sp-state-machine = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sp-std = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sp-storage = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sp-timestamp = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sp-tracing = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sp-transaction-pool = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sp-trie = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
sp-version = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
substrate-frame-rpc-system = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
substrate-prometheus-endpoint = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
substrate-test-runtime-client = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
substrate-test-utils = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
substrate-test-utils-derive = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
substrate-wasm-builder = { git = "https://github.com/PolymathNetwork/substrate", branch = "polymath-3.0.0" }
[workspace]
members = [
"bin/bench",
"bin/crypto-cli",
"bin/testing",
#"migration-tests",
#"migration-tests/remote-externalities",
"node-rpc",
"pallets/asset",
"pallets/balances",
"pallets/base",
"pallets/bridge",
"pallets/committee",
"pallets/common",
"pallets/compliance-manager",
#"pallets/contracts",
"pallets/corporate-actions",
"pallets/external-agents",
"pallets/group",
"pallets/group/rpc",
"pallets/group/rpc/runtime-api",
"pallets/identity",
"pallets/multisig",
"pallets/pips",
"pallets/protocol-fee",
"pallets/rewards",
"pallets/protocol-fee/rpc",
"pallets/protocol-fee/rpc/runtime-api",
"pallets/relayer",
"pallets/runtime/common",
"pallets/runtime/develop",
"pallets/runtime/itn",
"pallets/runtime/testnet",
"pallets/runtime/tests",
"pallets/settlement",
"pallets/staking",
"pallets/staking/rpc",
"pallets/staking/rpc/runtime-api",
"pallets/statistics",
"pallets/sto",
"pallets/transaction-payment",
"pallets/treasury",
"pallets/utility",
"pallets/test-utils",
"pallets/weights",
"primitives",
"rpc",
"rpc/runtime-api",
"utils/permissions",
]
[dependencies]
pallet-asset = { path = "pallets/asset" }
pallet-balances = { path = "pallets/balances", default-features = false }
pallet-bridge = { path = "pallets/bridge", default-features = false }
pallet-committee = { path = "pallets/committee", default-features = false }
pallet-corporate-actions = { path = "pallets/corporate-actions", default-features = false }
pallet-external-agents = { path = "pallets/external-agents", default-features = false }
pallet-group = { path = "pallets/group", default-features = false }
pallet-identity = { path = "pallets/identity", default-features = false }
pallet-multisig = { path = "pallets/multisig", default-features = false }
pallet-pips = { path = "pallets/pips", default-features = false }
pallet-protocol-fee = { path = "pallets/protocol-fee", default-features = false }
pallet-staking = { path = "pallets/staking", default-features = false }
pallet-sudo = { path = "pallets/sudo", default-features = false }
pallet-rewards = { path = "pallets/rewards", default-features = false }
polymesh-common-utilities = { path = "pallets/common", default-features = false }
polymesh-primitives = { path = "primitives", default-features = false }
polymesh-runtime-common = { path = "pallets/runtime/common", default-features = false }
# RPC
node-rpc = { path = "rpc" }
node-rpc-runtime-api = { path = "rpc/runtime-api" }
pallet-group-rpc = { path = "pallets/group/rpc" }
pallet-group-rpc-runtime-api = { path = "pallets/group/rpc/runtime-api" }
pallet-protocol-fee-rpc = { path = "pallets/protocol-fee/rpc" }
pallet-protocol-fee-rpc-runtime-api = { path = "pallets/protocol-fee/rpc/runtime-api" }
pallet-staking-rpc-runtime-api = { path = "pallets/staking/rpc/runtime-api" }
polymesh-node-rpc = { path = "node-rpc" }
# Runtimes
polymesh-runtime-develop = { path = "pallets/runtime/develop" }
polymesh-runtime-itn = { path = "pallets/runtime/itn" }
polymesh-runtime-testnet = { path = "pallets/runtime/testnet" }
# General
chrono = "0.4.11"
ed25519-dalek = "1.0.0"
futures = "0.3.4"
jsonrpc-core = { version = "15.0", features = ["arbitrary_precision"] }
log = "0.4.8"
serde = { version = "1.0.104", default-features = false }
serde_json = { version = "1.0", features = ["arbitrary_precision"] }
structopt = "0.3.15"
rustc-hex = "2.1.0"
# Substrate
codec = { version = "2.0.0", package = "parity-scale-codec" }
frame-support = "3.0.0"
frame-system = "3.0.0"
frame-system-rpc-runtime-api = "3.0.0"
grandpa = { package = "sc-finality-grandpa", version = "0.9.0" }
#pallet-contracts = "3.0.0"
#pallet-contracts-rpc-runtime-api = "3.0.0"
pallet-im-online = "3.0.0"
pallet-indices = "3.0.0"
pallet-session = "3.0.0"
prometheus-endpoint = { package = "substrate-prometheus-endpoint", version = "0.9.0" }
sc-authority-discovery = "0.9.0"
sc-basic-authorship = "0.9.0"
sc-chain-spec = "3.0.0"
sc-cli = { version = "0.9.0", features = ["wasmtime"] }
sc-client-api = "3.0.0"
sc-client-db = "0.9.0"
sc-consensus = "0.9.0"
sc-consensus-babe = "0.9.0"
sc-consensus-slots = "0.9.0"
sc-executor = { version = "0.9.0", features = ["wasmtime"] }
sc-light = "3.0.0"
sc-network = "0.9.0"
sc-rpc = "3.0.0"
sc-service = { version = "0.9.0", features = ["wasmtime"] }
sc-telemetry = "3.0.0"
sc-transaction-pool = "3.0.0"
sp-api = "3.0.0"
sp-authority-discovery = "3.0.0"
sp-block-builder = "3.0.0"
sp-blockchain = "3.0.0"
sp-consensus = "0.9.0"
sp-consensus-babe = "0.9.0"
sp-consensus-slots = "0.9.0"
sp-core = "3.0.0"
sp-inherents = "3.0.0"
sp-offchain = "3.0.0"
sp-runtime = "3.0.0"
sp-session = "3.0.0"
sp-transaction-pool = { version = "3.0.0" }
# These dependencies are used for runtime benchmarking
frame-benchmarking = "3.0.0"
frame-benchmarking-cli = "3.0.0"
[build-dependencies]
vergen = "3.1.0"
[features]
default = ["std"]
running-ci = [ "polymesh-runtime-develop/running-ci" ]
default_identity = [ "polymesh-common-utilities/default_identity" ]
runtime-benchmarks = [ "polymesh-runtime-develop/runtime-benchmarks" ]
std = [
"polymesh-common-utilities/std",
"serde/std"
]