mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 03:31:10 +00:00
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:
committed by
Bastian Köcher
parent
f43e405b5e
commit
07a514e9f7
@@ -8,79 +8,26 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
bp-header-chain = { path = "../../primitives/header-chain", default-features = false }
|
||||
codec = { package = "parity-scale-codec", version = "1.3.1", default-features = false }
|
||||
finality-grandpa = { version = "0.12.3", default-features = false }
|
||||
hash-db = { version = "0.15.2", default-features = false }
|
||||
serde = { version = "1.0", optional = true }
|
||||
num-traits = { version = "0.2", default-features = false }
|
||||
serde = { version = "1.0", optional = true }
|
||||
|
||||
[dependencies.codec]
|
||||
package = "parity-scale-codec"
|
||||
version = "1.3.1"
|
||||
default-features = false
|
||||
features = ["derive"]
|
||||
# Substrate Dependencies
|
||||
|
||||
# Substrate Based Dependencies
|
||||
frame-support = { version = "2.0", default-features = false }
|
||||
frame-system = { version = "2.0", default-features = false }
|
||||
sp-finality-grandpa = { version = "2.0", default-features = false }
|
||||
sp-runtime = { version = "2.0", default-features = false }
|
||||
sp-std = { version = "2.0", default-features = false }
|
||||
sp-trie = { version = "2.0", default-features = false }
|
||||
|
||||
[dependencies.frame-support]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.frame-system]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.sp-finality-grandpa]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.sp-runtime]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.sp-std]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dependencies.sp-trie]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
# Dev Dependencies
|
||||
[dev-dependencies.sp-io]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dev-dependencies.sp-core]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dev-dependencies.sp-keyring]
|
||||
version = "2.0.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
|
||||
[dev-dependencies.sp-state-machine]
|
||||
version = "0.8.0"
|
||||
tag = 'v2.0.0'
|
||||
default-features = false
|
||||
git = "https://github.com/paritytech/substrate/"
|
||||
[dev-dependencies]
|
||||
sp-core = "2.0"
|
||||
sp-io = "2.0"
|
||||
sp-keyring = "2.0"
|
||||
sp-state-machine = "0.8"
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
@@ -89,11 +36,11 @@ std = [
|
||||
"finality-grandpa/std",
|
||||
"frame-support/std",
|
||||
"frame-system/std",
|
||||
"hash-db/std",
|
||||
"num-traits/std",
|
||||
"serde",
|
||||
"sp-finality-grandpa/std",
|
||||
"sp-runtime/std",
|
||||
"sp-std/std",
|
||||
"sp-trie/std",
|
||||
"sp-io/std",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user