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:
@@ -27,3 +27,4 @@ debug = ["array-bytes", "log"]
|
||||
default = ["debug", "std"]
|
||||
std = ["codec/std", "hash-db/std", "log/std"]
|
||||
runtime-benchmarks = []
|
||||
serde = []
|
||||
|
||||
@@ -30,3 +30,4 @@ std = [
|
||||
"zeroize/alloc",
|
||||
"zeroize/std",
|
||||
]
|
||||
serde = []
|
||||
|
||||
@@ -18,3 +18,7 @@ targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
[dependencies]
|
||||
codec = { features = ["derive"], workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
std = []
|
||||
serde = []
|
||||
|
||||
@@ -101,6 +101,8 @@ runtime-benchmarks = [
|
||||
"pezframe-support/runtime-benchmarks",
|
||||
"pezframe-system/runtime-benchmarks",
|
||||
"pezkuwi-primitives/runtime-benchmarks",
|
||||
"pezkuwi-subxt-signer/runtime-benchmarks",
|
||||
"pezkuwi-subxt/runtime-benchmarks",
|
||||
"pezkuwi-teyrchain-primitives/runtime-benchmarks",
|
||||
"pezsc-block-builder/runtime-benchmarks",
|
||||
"pezsc-chain-spec/runtime-benchmarks",
|
||||
@@ -128,3 +130,49 @@ runtime-benchmarks = [
|
||||
# "zagros-runtime/runtime-benchmarks", # Not a dependency of this crate
|
||||
]
|
||||
rocksdb = ["pezsc-cli/rocksdb", "pezsc-client-db/rocksdb"]
|
||||
std = [
|
||||
"log/std",
|
||||
"pezcumulus-client-teyrchain-inherent/std",
|
||||
"pezkuwi-subxt/std",
|
||||
"pezsc-block-builder/std",
|
||||
"pezsc-chain-spec/std",
|
||||
"pezsc-cli/std",
|
||||
"pezsc-client-api/std",
|
||||
"pezsc-client-db/std",
|
||||
"pezsc-executor-common/std",
|
||||
"pezsc-executor-wasmtime/std",
|
||||
"pezsc-runtime-utilities/std",
|
||||
"pezsc-service/std",
|
||||
"pezsc-sysinfo/std",
|
||||
"pezsp-blockchain/std",
|
||||
]
|
||||
try-runtime = [
|
||||
"pezcumulus-client-teyrchain-inherent/try-runtime",
|
||||
"pezframe-benchmarking/try-runtime",
|
||||
"pezframe-support/try-runtime",
|
||||
"pezframe-system/try-runtime",
|
||||
"pezkuwi-primitives/try-runtime",
|
||||
"pezkuwi-subxt/try-runtime",
|
||||
"pezkuwi-teyrchain-primitives/try-runtime",
|
||||
"pezsc-block-builder/try-runtime",
|
||||
"pezsc-chain-spec/try-runtime",
|
||||
"pezsc-cli/try-runtime",
|
||||
"pezsc-client-api/try-runtime",
|
||||
"pezsc-client-db/try-runtime",
|
||||
"pezsc-executor/try-runtime",
|
||||
"pezsc-service/try-runtime",
|
||||
"pezsc-sysinfo/try-runtime",
|
||||
"pezsp-api/try-runtime",
|
||||
"pezsp-block-builder/try-runtime",
|
||||
"pezsp-blockchain/try-runtime",
|
||||
"pezsp-genesis-builder/try-runtime",
|
||||
"pezsp-inherents/try-runtime",
|
||||
"pezsp-runtime/try-runtime",
|
||||
"pezsp-timestamp/try-runtime",
|
||||
"pezsp-transaction-pool/try-runtime",
|
||||
"pezsp-version/try-runtime",
|
||||
]
|
||||
serde = []
|
||||
experimental = []
|
||||
with-tracing = []
|
||||
tuples-96 = []
|
||||
|
||||
@@ -40,3 +40,18 @@ runtime-benchmarks = [
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-statement-store/runtime-benchmarks",
|
||||
]
|
||||
std = [
|
||||
"pezframe-benchmarking-cli/std",
|
||||
"pezsc-chain-spec/std",
|
||||
"pezsc-cli/std",
|
||||
]
|
||||
try-runtime = [
|
||||
"pezcumulus-test-runtime/try-runtime",
|
||||
"pezframe-benchmarking-cli/try-runtime",
|
||||
"pezsc-chain-spec/try-runtime",
|
||||
"pezsc-cli/try-runtime",
|
||||
"pezsp-genesis-builder/try-runtime",
|
||||
"pezsp-runtime/try-runtime",
|
||||
"pezsp-statement-store/try-runtime",
|
||||
]
|
||||
serde = []
|
||||
|
||||
@@ -32,3 +32,14 @@ runtime-benchmarks = [
|
||||
"pezpallet-staking/runtime-benchmarks",
|
||||
"pezsp-staking/runtime-benchmarks",
|
||||
]
|
||||
std = []
|
||||
try-runtime = [
|
||||
"pezframe-election-provider-support/try-runtime",
|
||||
"pezframe-support/try-runtime",
|
||||
"pezframe-system/try-runtime",
|
||||
"pezpallet-staking/try-runtime",
|
||||
"pezsp-staking/try-runtime",
|
||||
]
|
||||
serde = []
|
||||
experimental = []
|
||||
tuples-96 = []
|
||||
|
||||
@@ -25,3 +25,12 @@ runtime-benchmarks = [
|
||||
"pez-generate-bags/runtime-benchmarks",
|
||||
"pez-kitchensink-runtime/runtime-benchmarks",
|
||||
]
|
||||
std = [
|
||||
"pez-generate-bags/std",
|
||||
]
|
||||
try-runtime = [
|
||||
"pez-generate-bags/try-runtime",
|
||||
"pez-kitchensink-runtime/try-runtime",
|
||||
]
|
||||
experimental = []
|
||||
with-tracing = []
|
||||
|
||||
@@ -46,3 +46,13 @@ runtime-benchmarks = [
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-state-machine/runtime-benchmarks",
|
||||
]
|
||||
std = [
|
||||
"bizinikiwi-rpc-client/std",
|
||||
"log/std",
|
||||
]
|
||||
try-runtime = [
|
||||
"bizinikiwi-rpc-client/try-runtime",
|
||||
"pezsp-runtime/try-runtime",
|
||||
]
|
||||
serde = []
|
||||
with-tracing = []
|
||||
|
||||
@@ -36,3 +36,12 @@ runtime-benchmarks = [
|
||||
"pezsc-rpc-api/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
]
|
||||
std = [
|
||||
"log/std",
|
||||
"pezsc-rpc-api/std",
|
||||
]
|
||||
try-runtime = [
|
||||
"pezsc-rpc-api/try-runtime",
|
||||
"pezsp-runtime/try-runtime",
|
||||
]
|
||||
serde = []
|
||||
|
||||
@@ -44,3 +44,14 @@ runtime-benchmarks = [
|
||||
"pezsp-state-machine/runtime-benchmarks",
|
||||
"pezsp-trie/runtime-benchmarks",
|
||||
]
|
||||
std = [
|
||||
"codec/std",
|
||||
"pezsc-client-api/std",
|
||||
"pezsc-rpc-api/std",
|
||||
]
|
||||
try-runtime = [
|
||||
"pezsc-client-api/try-runtime",
|
||||
"pezsc-rpc-api/try-runtime",
|
||||
"pezsp-runtime/try-runtime",
|
||||
]
|
||||
serde = []
|
||||
|
||||
@@ -38,3 +38,15 @@ runtime-benchmarks = [
|
||||
"pezsc-rpc-api/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
]
|
||||
std = [
|
||||
"pezsc-rpc-api/std",
|
||||
]
|
||||
try-runtime = [
|
||||
"pezframe-support/try-runtime",
|
||||
"pezframe-system/try-runtime",
|
||||
"pezsc-rpc-api/try-runtime",
|
||||
"pezsp-runtime/try-runtime",
|
||||
]
|
||||
serde = []
|
||||
experimental = []
|
||||
tuples-96 = []
|
||||
|
||||
@@ -54,3 +54,21 @@ runtime-benchmarks = [
|
||||
"pezsp-blockchain/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
]
|
||||
std = [
|
||||
"log/std",
|
||||
"pezsc-rpc-api/std",
|
||||
"pezsc-transaction-pool-api/std",
|
||||
"pezsc-transaction-pool/std",
|
||||
"pezsp-blockchain/std",
|
||||
]
|
||||
try-runtime = [
|
||||
"pezsc-rpc-api/try-runtime",
|
||||
"pezsc-transaction-pool-api/try-runtime",
|
||||
"pezsc-transaction-pool/try-runtime",
|
||||
"pezsp-api/try-runtime",
|
||||
"pezsp-block-builder/try-runtime",
|
||||
"pezsp-blockchain/try-runtime",
|
||||
"pezsp-runtime/try-runtime",
|
||||
]
|
||||
serde = []
|
||||
with-tracing = []
|
||||
|
||||
@@ -40,3 +40,7 @@ runtime-benchmarks = [
|
||||
"pezsp-state-machine/runtime-benchmarks",
|
||||
"pezsp-trie/runtime-benchmarks",
|
||||
]
|
||||
try-runtime = [
|
||||
"pezsp-runtime/try-runtime",
|
||||
]
|
||||
serde = []
|
||||
|
||||
@@ -41,3 +41,9 @@ tokio = { features = [
|
||||
"macros",
|
||||
"rt-multi-thread",
|
||||
], workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
std = [
|
||||
"log/std",
|
||||
]
|
||||
serde = []
|
||||
|
||||
@@ -61,3 +61,20 @@ tracing-subscriber = { workspace = true, features = [
|
||||
"fmt",
|
||||
"time",
|
||||
] }
|
||||
|
||||
[features]
|
||||
std = [
|
||||
"average/std",
|
||||
"codec/std",
|
||||
"futures-util/std",
|
||||
"pezkuwi-subxt-rpcs/std",
|
||||
"pezkuwi-subxt/std",
|
||||
"serde_json/std",
|
||||
]
|
||||
serde = []
|
||||
runtime-benchmarks = [
|
||||
"pezkuwi-subxt-core/runtime-benchmarks",
|
||||
"pezkuwi-subxt-rpcs/runtime-benchmarks",
|
||||
"pezkuwi-subxt-signer/runtime-benchmarks",
|
||||
"pezkuwi-subxt/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -69,3 +69,6 @@ runtime-benchmarks = [
|
||||
"pezsp-io?/runtime-benchmarks",
|
||||
"pezsp-version?/runtime-benchmarks",
|
||||
]
|
||||
std = []
|
||||
serde = []
|
||||
with-tracing = []
|
||||
|
||||
Reference in New Issue
Block a user