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
+9 -6
View File
@@ -8,16 +8,19 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
[dependencies]
async-trait = "0.1.40"
codec = { package = "parity-scale-codec", version = "1.3.4" }
headers-relay = { path = "../headers-relay" }
jsonrpsee = { git = "https://github.com/svyatonik/jsonrpsee.git", branch = "shared-client-in-rpc-api", default-features = false, features = ["http"] }
log = "0.4.11"
num-traits = "0.2"
# Bridge dependencies
headers-relay = { path = "../headers-relay" }
relay-utils = { path = "../utils" }
# Substrate Dependencies
frame-support = { version = "2.0.0", tag = 'v2.0.0', git = "https://github.com/paritytech/substrate.git" }
frame-system = { version = "2.0.0", tag = 'v2.0.0', git = "https://github.com/paritytech/substrate.git" }
sp-core = { version = "2.0.0", tag = 'v2.0.0', git = "https://github.com/paritytech/substrate.git" }
sp-runtime = { version = "2.0.0", tag = 'v2.0.0', git = "https://github.com/paritytech/substrate.git" }
sp-std = { version = "2.0.0", tag = 'v2.0.0', git = "https://github.com/paritytech/substrate.git" }
frame-support = "2.0"
frame-system = "2.0"
sp-core = "2.0"
sp-runtime = "2.0"
sp-std = "2.0"