fix: comprehensive feature propagation and dep:serde fixes
- Fix serde optional dependency issues by adding dep:serde to serde features (24 crates) - Run zepter to propagate runtime-benchmarks, std, try-runtime, serde, experimental, with-tracing, tuples-96 features - Regenerate umbrella crate with proper feature propagation - Format all TOML files with taplo This resolves check-umbrella and check-zepter CI failures.
This commit is contained in:
+8
@@ -14,6 +14,14 @@ description = "Generate an API for interacting with a Pezkuwi/Bizinikiwi node fr
|
||||
[features]
|
||||
default = []
|
||||
web = ["getrandom/js"]
|
||||
std = [
|
||||
"codec/std",
|
||||
"frame-metadata?/std",
|
||||
"getrandom?/std",
|
||||
"pezkuwi-subxt-metadata/std",
|
||||
"scale-info/std",
|
||||
]
|
||||
serde = []
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", workspace = true, features = ["derive"] }
|
||||
|
||||
Vendored
+7
@@ -25,6 +25,7 @@ std = [
|
||||
"hex/std",
|
||||
"impl-serde/std",
|
||||
"keccak-hash/std",
|
||||
"pezkuwi-subxt-macro/std",
|
||||
"pezkuwi-subxt-metadata/std",
|
||||
"pezkuwi-subxt-signer/std",
|
||||
"pezsp-core/std",
|
||||
@@ -36,6 +37,12 @@ std = [
|
||||
"serde_json/std",
|
||||
"tracing/std",
|
||||
]
|
||||
serde = []
|
||||
runtime-benchmarks = [
|
||||
"pezkuwi-subxt-macro/runtime-benchmarks",
|
||||
"pezkuwi-subxt-signer/runtime-benchmarks",
|
||||
"pezsp-keyring/runtime-benchmarks",
|
||||
]
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", workspace = true, default-features = false, features = ["derive"] }
|
||||
|
||||
+10
@@ -40,6 +40,16 @@ web = [
|
||||
"web-sys",
|
||||
"web-time",
|
||||
]
|
||||
std = [
|
||||
"futures-util/std",
|
||||
"getrandom?/std",
|
||||
"serde/std",
|
||||
"serde_json/std",
|
||||
"smoldot-light/std",
|
||||
"smoldot?/std",
|
||||
"tracing/std",
|
||||
]
|
||||
serde = []
|
||||
|
||||
[dependencies]
|
||||
futures = { workspace = true, features = ["async-await"] }
|
||||
|
||||
+17
@@ -23,6 +23,23 @@ runtime-wasm-path = [
|
||||
"pezsp-state-machine",
|
||||
]
|
||||
runtime-metadata-insecure-url = ["pezkuwi-subxt-utils-fetchmetadata/url"]
|
||||
std = [
|
||||
"codec/std",
|
||||
"pezkuwi-subxt-codegen/std",
|
||||
"pezkuwi-subxt-metadata/std",
|
||||
"pezkuwi-subxt-utils-fetchmetadata/std",
|
||||
"pezsc-executor-common?/std",
|
||||
"pezsc-executor?/std",
|
||||
"pezsp-io?/std",
|
||||
"pezsp-state-machine?/std",
|
||||
]
|
||||
serde = []
|
||||
with-tracing = []
|
||||
runtime-benchmarks = [
|
||||
"pezsc-executor?/runtime-benchmarks",
|
||||
"pezsp-io?/runtime-benchmarks",
|
||||
"pezsp-state-machine?/runtime-benchmarks",
|
||||
]
|
||||
|
||||
[lib]
|
||||
proc-macro = true
|
||||
|
||||
+3
@@ -20,6 +20,8 @@ std = [
|
||||
"codec/std",
|
||||
"frame-decode/std",
|
||||
"frame-metadata/std",
|
||||
"pezkuwi-subxt-codegen/std",
|
||||
"pezkuwi-subxt-utils-stripmetadata/std",
|
||||
"pezsp-crypto-hashing/std",
|
||||
"scale-info/std",
|
||||
]
|
||||
@@ -33,6 +35,7 @@ legacy = [
|
||||
"frame-metadata/legacy",
|
||||
"std",
|
||||
]
|
||||
serde = []
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", workspace = true, default-features = false, features = ["derive"] }
|
||||
|
||||
Vendored
+16
@@ -51,6 +51,22 @@ web = [
|
||||
"jsonrpsee?/wasm-client",
|
||||
"pezkuwi-subxt-lightclient?/web",
|
||||
]
|
||||
std = [
|
||||
"codec/std",
|
||||
"frame-metadata/std",
|
||||
"getrandom?/std",
|
||||
"hex/std",
|
||||
"impl-serde/std",
|
||||
"pezkuwi-subxt-lightclient?/std",
|
||||
"primitive-types/std",
|
||||
"serde/std",
|
||||
"serde_json/std",
|
||||
"tracing/std",
|
||||
]
|
||||
serde = []
|
||||
runtime-benchmarks = [
|
||||
"pezkuwi-subxt-core?/runtime-benchmarks",
|
||||
]
|
||||
|
||||
[dependencies]
|
||||
codec = { workspace = true }
|
||||
|
||||
+14
@@ -68,6 +68,20 @@ subxt = ["dep:pezkuwi-subxt-core"]
|
||||
# The getrandom package is used via schnorrkel. We need to enable the JS
|
||||
# feature on it if compiling for the web.
|
||||
web = ["getrandom/js"]
|
||||
serde = [
|
||||
"bip39/serde",
|
||||
"codec/serde",
|
||||
"hex/serde",
|
||||
"pezsp-core/serde",
|
||||
"schnorrkel?/serde",
|
||||
"secp256k1?/serde",
|
||||
"secrecy/serde",
|
||||
"zeroize/serde",
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"pezkuwi-subxt-core?/runtime-benchmarks",
|
||||
"pezsp-keyring/runtime-benchmarks",
|
||||
]
|
||||
|
||||
[dependencies]
|
||||
bip32 = { workspace = true, features = ["alloc", "secp256k1"], optional = true }
|
||||
|
||||
+33
@@ -71,6 +71,39 @@ unstable-light-client = [
|
||||
|
||||
# Activate this to expose the ability to generate metadata from Wasm runtime files.
|
||||
runtime-wasm-path = ["pezkuwi-subxt-macro/runtime-wasm-path"]
|
||||
std = [
|
||||
"bitvec/std",
|
||||
"codec/std",
|
||||
"either/std",
|
||||
"frame-metadata/std",
|
||||
"hex/std",
|
||||
"pezkuwi-subxt-lightclient?/std",
|
||||
"pezkuwi-subxt-macro/std",
|
||||
"pezkuwi-subxt-metadata/std",
|
||||
"pezkuwi-subxt-rpcs/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-crypto-hashing/std",
|
||||
"pezsp-keyring/std",
|
||||
"pezsp-runtime/std",
|
||||
"primitive-types/std",
|
||||
"scale-info/std",
|
||||
"serde/std",
|
||||
"serde_json/std",
|
||||
"tracing/std",
|
||||
]
|
||||
try-runtime = [
|
||||
"pezsp-keyring/try-runtime",
|
||||
"pezsp-runtime/try-runtime",
|
||||
]
|
||||
serde = []
|
||||
runtime-benchmarks = [
|
||||
"pezkuwi-subxt-core/runtime-benchmarks",
|
||||
"pezkuwi-subxt-macro/runtime-benchmarks",
|
||||
"pezkuwi-subxt-rpcs/runtime-benchmarks",
|
||||
"pezkuwi-subxt-signer/runtime-benchmarks",
|
||||
"pezsp-keyring/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
]
|
||||
|
||||
[dependencies]
|
||||
async-trait = { workspace = true }
|
||||
|
||||
@@ -15,6 +15,12 @@ description = "subxt utility to fetch metadata"
|
||||
|
||||
[features]
|
||||
url = ["dep:jsonrpsee", "dep:tokio", "dep:url", "frame-metadata"]
|
||||
std = [
|
||||
"codec/std",
|
||||
"frame-metadata?/std",
|
||||
"hex/std",
|
||||
]
|
||||
serde = []
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", workspace = true, features = ["derive", "std"] }
|
||||
|
||||
@@ -28,3 +28,12 @@ default-features = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[features]
|
||||
std = [
|
||||
"codec/std",
|
||||
"either/std",
|
||||
"frame-metadata/std",
|
||||
"scale-info/std",
|
||||
]
|
||||
serde = []
|
||||
|
||||
@@ -26,3 +26,12 @@ url = { workspace = true, features = ["serde"] }
|
||||
|
||||
# zombienet deps
|
||||
support = { workspace = true }
|
||||
|
||||
[features]
|
||||
std = [
|
||||
"anyhow/std",
|
||||
"serde/std",
|
||||
"support/std",
|
||||
"tracing/std",
|
||||
]
|
||||
serde = []
|
||||
|
||||
@@ -47,3 +47,27 @@ support = { workspace = true }
|
||||
[dev-dependencies]
|
||||
lazy_static = { workspace = true }
|
||||
toml = { workspace = true }
|
||||
|
||||
[features]
|
||||
std = [
|
||||
"anyhow/std",
|
||||
"configuration/std",
|
||||
"hex/std",
|
||||
"libsecp256k1/std",
|
||||
"pezkuwi-subxt/std",
|
||||
"pezsc-chain-spec/std",
|
||||
"pezsp-core/std",
|
||||
"prom-metrics-parser/std",
|
||||
"provider/std",
|
||||
"rand/std",
|
||||
"serde/std",
|
||||
"sha2/std",
|
||||
"support/std",
|
||||
"tracing/std",
|
||||
]
|
||||
serde = []
|
||||
runtime-benchmarks = [
|
||||
"pezkuwi-subxt-signer/runtime-benchmarks",
|
||||
"pezkuwi-subxt/runtime-benchmarks",
|
||||
"pezsc-chain-spec/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -16,3 +16,6 @@ keywords = ["metrics", "pezkuwi", "prometheus", "zombienet"]
|
||||
pest = { workspace = true }
|
||||
pest_derive = { workspace = true }
|
||||
thiserror = { workspace = true }
|
||||
|
||||
[features]
|
||||
std = []
|
||||
|
||||
@@ -45,3 +45,15 @@ uuid = { workspace = true, features = ["v4"] }
|
||||
# Zomebienet deps
|
||||
configuration = { workspace = true }
|
||||
support = { workspace = true }
|
||||
|
||||
[features]
|
||||
std = [
|
||||
"anyhow/std",
|
||||
"configuration/std",
|
||||
"hex/std",
|
||||
"serde/std",
|
||||
"sha2/std",
|
||||
"support/std",
|
||||
"tracing/std",
|
||||
]
|
||||
serde = []
|
||||
|
||||
@@ -31,3 +31,18 @@ k8s-openapi = { workspace = true, features = ["v1_28"] }
|
||||
kube = { workspace = true, features = ["runtime", "ws"] }
|
||||
serde_json = { workspace = true, default-features = true }
|
||||
tracing-subscriber = { workspace = true }
|
||||
|
||||
[features]
|
||||
std = [
|
||||
"configuration/std",
|
||||
"orchestrator/std",
|
||||
"pezkuwi-subxt/std",
|
||||
"provider/std",
|
||||
"support/std",
|
||||
]
|
||||
serde = []
|
||||
runtime-benchmarks = [
|
||||
"orchestrator/runtime-benchmarks",
|
||||
"pezkuwi-subxt-signer/runtime-benchmarks",
|
||||
"pezkuwi-subxt/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -26,3 +26,11 @@ thiserror = { workspace = true }
|
||||
tokio = { workspace = true, features = ["full"] }
|
||||
tracing = { workspace = true }
|
||||
uuid = { workspace = true, features = ["v4"] }
|
||||
|
||||
[features]
|
||||
std = [
|
||||
"anyhow/std",
|
||||
"rand/std",
|
||||
"tracing/std",
|
||||
]
|
||||
serde = []
|
||||
|
||||
Vendored
+1
@@ -14,6 +14,7 @@ bench = false
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = ["num-format", "serde/std", "serde_json/std"]
|
||||
serde = []
|
||||
|
||||
[dependencies]
|
||||
num-format = { version = "0.4.3", optional = true }
|
||||
|
||||
Reference in New Issue
Block a user