mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 13:31:10 +00:00
Lift dependencies to the workspace (Part 1) (#2070)
Changes (partial https://github.com/paritytech/polkadot-sdk/issues/994): - Set log to `0.4.20` everywhere - Lift `log` to the workspace Starting with a simpler one after seeing https://github.com/paritytech/polkadot-sdk/pull/2065 from @jsdw. This sets the `default-features` to `false` in the root and then overwrites that in each create to its original value. This is necessary since otherwise the `default` features are additive and its impossible to disable them in the crate again once they are enabled in the workspace. I am using a tool to do this, so its mostly a test to see that it works as expected. --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
committed by
GitHub
parent
8362a6810d
commit
e80c24733f
@@ -32,7 +32,7 @@ scale-info = { version = "2.10.0", default-features = false, features = [
|
||||
"derive",
|
||||
] }
|
||||
sp-metadata-ir = { path = "../metadata-ir", default-features = false, optional = true }
|
||||
log = { version = "0.4.17", default-features = false }
|
||||
log = { workspace = true }
|
||||
|
||||
[dev-dependencies]
|
||||
sp-test-primitives = { path = "../test-primitives" }
|
||||
|
||||
@@ -31,7 +31,7 @@ scale-info = { version = "2.10.0", default-features = false, features = ["derive
|
||||
[dev-dependencies]
|
||||
criterion = "0.4.0"
|
||||
futures = "0.3.21"
|
||||
log = "0.4.17"
|
||||
log = { workspace = true, default-features = true }
|
||||
sp-core = { path = "../../core" }
|
||||
static_assertions = "1.1.0"
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ targets = ["x86_64-unknown-linux-gnu"]
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
|
||||
futures = "0.3.21"
|
||||
log = "0.4.17"
|
||||
log = { workspace = true, default-features = true }
|
||||
parking_lot = "0.12.1"
|
||||
schnellru = "0.2.1"
|
||||
thiserror = "1.0.48"
|
||||
|
||||
@@ -19,7 +19,7 @@ targets = ["x86_64-unknown-linux-gnu"]
|
||||
[dependencies]
|
||||
async-trait = "0.1.74"
|
||||
futures = { version = "0.3.21", features = ["thread-pool"] }
|
||||
log = "0.4.17"
|
||||
log = { workspace = true, default-features = true }
|
||||
thiserror = "1.0.48"
|
||||
sp-core = { path = "../../core" }
|
||||
sp-inherents = { path = "../../inherents" }
|
||||
|
||||
@@ -19,7 +19,7 @@ targets = ["x86_64-unknown-linux-gnu"]
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
|
||||
grandpa = { package = "finality-grandpa", version = "0.16.2", default-features = false, features = ["derive-codec"] }
|
||||
log = { version = "0.4.17", default-features = false }
|
||||
log = { workspace = true }
|
||||
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
|
||||
serde = { version = "1.0.195", features = ["alloc", "derive"], default-features = false, optional = true }
|
||||
sp-api = { path = "../../api", default-features = false }
|
||||
|
||||
@@ -18,7 +18,7 @@ targets = ["x86_64-unknown-linux-gnu"]
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive", "max-encoded-len"] }
|
||||
scale-info = { version = "2.5.0", default-features = false, features = ["derive"] }
|
||||
log = { version = "0.4.17", default-features = false }
|
||||
log = { workspace = true }
|
||||
serde = { version = "1.0.195", optional = true, default-features = false, features = ["alloc", "derive"] }
|
||||
bounded-collections = { version = "0.2.0", default-features = false }
|
||||
primitive-types = { version = "0.12.0", default-features = false, features = ["codec", "scale-info"] }
|
||||
|
||||
@@ -30,7 +30,7 @@ sp-runtime-interface = { path = "../runtime-interface", default-features = false
|
||||
sp-trie = { path = "../trie", default-features = false, optional = true }
|
||||
sp-externalities = { path = "../externalities", default-features = false }
|
||||
sp-tracing = { path = "../tracing", default-features = false }
|
||||
log = { version = "0.4.17", optional = true }
|
||||
log = { optional = true, workspace = true, default-features = true }
|
||||
secp256k1 = { version = "0.28.0", features = ["global-context", "recovery"], optional = true }
|
||||
tracing = { version = "0.1.29", default-features = false }
|
||||
tracing-core = { version = "0.1.32", default-features = false }
|
||||
|
||||
@@ -17,7 +17,7 @@ targets = ["x86_64-unknown-linux-gnu"]
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false }
|
||||
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
|
||||
log = { version = "0.4.17", default-features = false }
|
||||
log = { workspace = true }
|
||||
mmr-lib = { package = "ckb-merkle-mountain-range", version = "0.5.2", default-features = false }
|
||||
serde = { version = "1.0.195", features = ["alloc", "derive"], default-features = false, optional = true }
|
||||
sp-api = { path = "../api", default-features = false }
|
||||
|
||||
@@ -21,7 +21,7 @@ codec = { package = "parity-scale-codec", version = "3.6.1", default-features =
|
||||
either = { version = "1.5", default-features = false }
|
||||
hash256-std-hasher = { version = "0.15.2", default-features = false }
|
||||
impl-trait-for-tuples = "0.2.2"
|
||||
log = { version = "0.4.17", default-features = false }
|
||||
log = { workspace = true }
|
||||
paste = "1.0"
|
||||
rand = { version = "0.8.5", optional = true }
|
||||
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
|
||||
|
||||
@@ -19,7 +19,7 @@ targets = ["x86_64-unknown-linux-gnu"]
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false }
|
||||
hash-db = { version = "0.16.0", default-features = false }
|
||||
log = { version = "0.4.17", default-features = false }
|
||||
log = { workspace = true }
|
||||
parking_lot = { version = "0.12.1", optional = true }
|
||||
rand = { version = "0.8.5", optional = true }
|
||||
smallvec = "1.11.0"
|
||||
|
||||
@@ -19,7 +19,7 @@ targets = ["x86_64-unknown-linux-gnu"]
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
|
||||
impl-trait-for-tuples = "0.2.2"
|
||||
log = { version = "0.4.17", optional = true }
|
||||
log = { optional = true, workspace = true, default-features = true }
|
||||
wasmtime = { version = "8.0.1", default-features = false, optional = true }
|
||||
anyhow = { version = "1.0.68", optional = true }
|
||||
sp-std = { path = "../std", default-features = false }
|
||||
|
||||
Reference in New Issue
Block a user