Get substrate dependencies from crates io (#387)

* get Substrate dependencies from crates.io

* removing unused dependencies

* cargo fmt --all

* remove commented dependencies

* remove commented dependencies again

* try to fix compilation
This commit is contained in:
Svyatoslav Nikolsky
2020-09-30 15:26:13 +03:00
committed by Bastian Köcher
parent f43e405b5e
commit 07a514e9f7
26 changed files with 281 additions and 1170 deletions
+18 -42
View File
@@ -9,64 +9,40 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
ansi_term = "0.12"
async-std = "1.6.5"
async-trait = "0.1.40"
bp-currency-exchange = { path = "../../primitives/currency-exchange" }
bp-eth-poa = { path = "../../primitives/ethereum-poa" }
clap = { version = "2.33.3", features = ["yaml"] }
codec = { package = "parity-scale-codec", version = "1.3.4" }
env_logger = "0.7.0"
ethabi = "12.0"
ethabi-contract = "11.0"
ethabi-derive = "12.0"
exchange-relay = { path = "../exchange-relay" }
futures = "0.3.5"
headers-relay = { path = "../headers-relay" }
hex = "0.4"
hex-literal = "0.3"
log = "0.4.11"
messages-relay = { path = "../messages-relay" }
num-traits = "0.2"
parity-crypto = { version = "0.6", features = ["publickey"] }
relay-ethereum-client = { path = "../ethereum-client" }
relay-rialto-client = { path = "../rialto-client" }
relay-substrate-client = { path = "../substrate-client" }
rialto-runtime = { path = "../../bin/rialto-runtime" }
relay-utils = { path = "../utils" }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.57"
time = "0.2"
# Substrate Based Dependencies
[dependencies.frame-system]
version = "2.0.0"
tag = 'v2.0.0'
git = "https://github.com/paritytech/substrate/"
# Bridge dependencies
[dependencies.pallet-transaction-payment]
version = "2.0.0"
tag = 'v2.0.0'
git = "https://github.com/paritytech/substrate.git"
bp-currency-exchange = { path = "../../primitives/currency-exchange" }
bp-eth-poa = { path = "../../primitives/ethereum-poa" }
exchange-relay = { path = "../exchange-relay" }
headers-relay = { path = "../headers-relay" }
messages-relay = { path = "../messages-relay" }
relay-ethereum-client = { path = "../ethereum-client" }
relay-rialto-client = { path = "../rialto-client" }
relay-substrate-client = { path = "../substrate-client" }
relay-utils = { path = "../utils" }
rialto-runtime = { path = "../../bin/rialto-runtime" }
[dependencies.node-primitives]
version = "2.0.0"
tag = 'v2.0.0'
git = "https://github.com/paritytech/substrate.git"
# Substrate Dependencies
[dependencies.sp-core]
version = "2.0.0"
tag = 'v2.0.0'
git = "https://github.com/paritytech/substrate.git"
[dependencies.sp-keyring]
version = "2.0.0"
tag = 'v2.0.0'
git = "https://github.com/paritytech/substrate.git"
[dependencies.sp-runtime]
version = "2.0.0"
tag = 'v2.0.0'
git = "https://github.com/paritytech/substrate.git"
[dependencies.substrate-prometheus-endpoint]
version = "0.8.0"
tag = 'v2.0.0'
git = "https://github.com/paritytech/substrate.git"
frame-system = "2.0"
pallet-transaction-payment = "2.0"
sp-core = "2.0"
sp-keyring = "2.0"
sp-runtime = "2.0"
substrate-prometheus-endpoint = "0.8"