mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 05:11:09 +00:00
depend-o-pocalipse (#9450)
Remove unneeded dependencies and dev-dependencies. Made self_destruct test not dependent on wasm bin size. Updated code related to deprecated warning on tracing-subscriber `scope()` ( See https://github.com/tokio-rs/tracing/issues/1429 )
This commit is contained in:
@@ -11,19 +11,23 @@ readme = "README.md"
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
# let's default to wasm32
|
||||
default-target = "wasm32-unknown-unknown"
|
||||
default-target = "wasm32-unknown-unknown"
|
||||
# with the tracing enabled
|
||||
features = ["with-tracing"]
|
||||
# allowing for linux-gnu here, too, allows for `std` to show up as well
|
||||
targets = ["x86_64-unknown-linux-gnu", "wasm32-unknown-unknown"]
|
||||
|
||||
[dependencies]
|
||||
sp-std = { version = "4.0.0-dev", path = "../std", default-features = false}
|
||||
codec = { version = "2.0.0", package = "parity-scale-codec", default-features = false, features = ["derive"]}
|
||||
sp-std = { version = "4.0.0-dev", path = "../std", default-features = false }
|
||||
codec = { version = "2.0.0", package = "parity-scale-codec", default-features = false, features = [
|
||||
"derive",
|
||||
] }
|
||||
tracing = { version = "0.1.25", default-features = false }
|
||||
tracing-core = { version = "0.1.17", default-features = false }
|
||||
log = { version = "0.4.8", optional = true }
|
||||
tracing-subscriber = { version = "0.2.18", optional = true, features = ["tracing-log"] }
|
||||
tracing-subscriber = { version = "0.2.19", optional = true, features = [
|
||||
"tracing-log",
|
||||
] }
|
||||
parking_lot = { version = "0.10.0", optional = true }
|
||||
erased-serde = { version = "0.3.9", optional = true }
|
||||
serde = { version = "1.0.126", optional = true }
|
||||
@@ -31,11 +35,8 @@ serde_json = { version = "1.0.41", optional = true }
|
||||
slog = { version = "2.5.2", features = ["nested-values"], optional = true }
|
||||
|
||||
[features]
|
||||
default = [ "std" ]
|
||||
with-tracing = [
|
||||
"codec/derive",
|
||||
"codec/full",
|
||||
]
|
||||
default = ["std"]
|
||||
with-tracing = ["codec/derive", "codec/full"]
|
||||
std = [
|
||||
"with-tracing",
|
||||
"tracing/std",
|
||||
@@ -48,5 +49,5 @@ std = [
|
||||
"erased-serde",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"slog"
|
||||
"slog",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user