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 = []
|
||||
|
||||
Reference in New Issue
Block a user