sp-transaction-pool-api: make default std, remove unused sp-core dependency (#4335)

* transaction-pool-api: use primitives/std

* transaction-pool-api: make primitives default-features = false

* transaction-pool-api: make default feature std

* transaction-pool-api: remove redundant primitives dependency
This commit is contained in:
Andrew Jones
2019-12-09 17:47:57 +00:00
committed by Bastian Köcher
parent 697b480bac
commit f1b8ee4e6e
2 changed files with 1 additions and 3 deletions
-1
View File
@@ -6437,7 +6437,6 @@ dependencies = [
"parity-scale-codec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.103 (registry+https://github.com/rust-lang/crates.io-index)",
"sp-api 2.0.0",
"sp-core 2.0.0",
"sp-runtime 2.0.0",
]
@@ -9,18 +9,17 @@ codec = { package = "parity-scale-codec", version = "1.0.0", optional = true }
derive_more = { version = "0.99.2", optional = true }
futures = { version = "0.3.1", optional = true }
log = { version = "0.4.8", optional = true }
primitives = { package = "sp-core", path = "../core", optional = true}
serde = { version = "1.0.101", features = ["derive"], optional = true}
sp-api = { path = "../sr-api", default-features = false }
sp-runtime = { path = "../runtime", default-features = false }
[features]
default = [ "std" ]
std = [
"codec",
"derive_more",
"futures",
"log",
"primitives",
"serde",
"sp-api/std",
"sp-runtime/std",