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:
@@ -43,6 +43,7 @@ std = [
|
||||
|
||||
# Serde support without relying on std features.
|
||||
serde = [
|
||||
"codec/serde",
|
||||
"pezsp-application-crypto/serde",
|
||||
"pezsp-consensus-slots/serde",
|
||||
"pezsp-runtime/serde",
|
||||
@@ -50,8 +51,15 @@ serde = [
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-application-crypto/runtime-benchmarks",
|
||||
"pezsp-consensus-slots/runtime-benchmarks",
|
||||
"pezsp-inherents/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-timestamp/runtime-benchmarks",
|
||||
]
|
||||
try-runtime = [
|
||||
"pezsp-api/try-runtime",
|
||||
"pezsp-inherents/try-runtime",
|
||||
"pezsp-runtime/try-runtime",
|
||||
"pezsp-timestamp/try-runtime",
|
||||
]
|
||||
|
||||
@@ -47,6 +47,7 @@ std = [
|
||||
|
||||
# Serde support without relying on std features.
|
||||
serde = [
|
||||
"codec/serde",
|
||||
"dep:serde",
|
||||
"pezsp-application-crypto/serde",
|
||||
"pezsp-consensus-slots/serde",
|
||||
@@ -56,8 +57,15 @@ serde = [
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-application-crypto/runtime-benchmarks",
|
||||
"pezsp-consensus-slots/runtime-benchmarks",
|
||||
"pezsp-inherents/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-timestamp?/runtime-benchmarks",
|
||||
]
|
||||
try-runtime = [
|
||||
"pezsp-api/try-runtime",
|
||||
"pezsp-inherents/try-runtime",
|
||||
"pezsp-runtime/try-runtime",
|
||||
"pezsp-timestamp?/try-runtime",
|
||||
]
|
||||
|
||||
@@ -54,10 +54,14 @@ std = [
|
||||
|
||||
# Serde support without relying on std features.
|
||||
serde = [
|
||||
"array-bytes/serde",
|
||||
"codec/serde",
|
||||
"dep:serde",
|
||||
"pezsp-application-crypto/serde",
|
||||
"pezsp-core/serde",
|
||||
"pezsp-mmr-primitives/serde",
|
||||
"pezsp-runtime/serde",
|
||||
"pezsp-weights/serde",
|
||||
"scale-info/serde",
|
||||
]
|
||||
|
||||
@@ -69,7 +73,15 @@ bls-experimental = [
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-application-crypto/runtime-benchmarks",
|
||||
"pezsp-io/runtime-benchmarks",
|
||||
"pezsp-mmr-primitives/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
]
|
||||
try-runtime = [
|
||||
"pezsp-api/try-runtime",
|
||||
"pezsp-mmr-primitives/try-runtime",
|
||||
"pezsp-runtime/try-runtime",
|
||||
]
|
||||
experimental = []
|
||||
with-tracing = []
|
||||
|
||||
@@ -35,3 +35,11 @@ runtime-benchmarks = [
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-state-machine/runtime-benchmarks",
|
||||
]
|
||||
std = [
|
||||
"log/std",
|
||||
]
|
||||
try-runtime = [
|
||||
"pezsp-inherents/try-runtime",
|
||||
"pezsp-runtime/try-runtime",
|
||||
]
|
||||
serde = []
|
||||
|
||||
@@ -45,7 +45,9 @@ std = [
|
||||
|
||||
# Serde support without relying on std features.
|
||||
serde = [
|
||||
"codec/serde",
|
||||
"dep:serde",
|
||||
"log/serde",
|
||||
"pezsp-application-crypto/serde",
|
||||
"pezsp-core/serde",
|
||||
"pezsp-runtime/serde",
|
||||
@@ -53,5 +55,10 @@ serde = [
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-application-crypto/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
]
|
||||
try-runtime = [
|
||||
"pezsp-api/try-runtime",
|
||||
"pezsp-runtime/try-runtime",
|
||||
]
|
||||
|
||||
@@ -29,3 +29,8 @@ runtime-benchmarks = [
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
]
|
||||
try-runtime = [
|
||||
"pezsp-api/try-runtime",
|
||||
"pezsp-runtime/try-runtime",
|
||||
]
|
||||
serde = []
|
||||
|
||||
@@ -47,6 +47,7 @@ std = [
|
||||
|
||||
# Serde support without relying on std features.
|
||||
serde = [
|
||||
"codec/serde",
|
||||
"dep:serde",
|
||||
"pezsp-application-crypto/serde",
|
||||
"pezsp-consensus-slots/serde",
|
||||
@@ -56,6 +57,11 @@ serde = [
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-application-crypto/runtime-benchmarks",
|
||||
"pezsp-consensus-slots/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
]
|
||||
try-runtime = [
|
||||
"pezsp-api/try-runtime",
|
||||
"pezsp-runtime/try-runtime",
|
||||
]
|
||||
|
||||
@@ -27,5 +27,9 @@ default = ["std"]
|
||||
std = ["codec/std", "pezsp-timestamp/std", "scale-info/std", "serde/std"]
|
||||
|
||||
# Serde support without relying on std features.
|
||||
serde = ["dep:serde", "scale-info/serde"]
|
||||
serde = [
|
||||
"codec/serde",
|
||||
"dep:serde",
|
||||
"scale-info/serde",
|
||||
]
|
||||
runtime-benchmarks = ["pezsp-timestamp/runtime-benchmarks"]
|
||||
|
||||
Reference in New Issue
Block a user