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:
@@ -70,3 +70,8 @@ runtime-benchmarks = [
|
||||
"pezsp-trie?/runtime-benchmarks",
|
||||
"pezsp-version/runtime-benchmarks",
|
||||
]
|
||||
try-runtime = [
|
||||
"pezsp-runtime/try-runtime",
|
||||
"pezsp-version/try-runtime",
|
||||
]
|
||||
serde = []
|
||||
|
||||
@@ -55,3 +55,20 @@ runtime-benchmarks = [
|
||||
"pezsp-state-machine/runtime-benchmarks",
|
||||
"pezsp-version/runtime-benchmarks",
|
||||
]
|
||||
std = [
|
||||
"bizinikiwi-test-runtime-client/std",
|
||||
"log/std",
|
||||
"pezsc-block-builder/std",
|
||||
"pezsp-consensus/std",
|
||||
"scale-info/std",
|
||||
]
|
||||
try-runtime = [
|
||||
"bizinikiwi-test-runtime-client/try-runtime",
|
||||
"pezsc-block-builder/try-runtime",
|
||||
"pezsp-api/try-runtime",
|
||||
"pezsp-consensus/try-runtime",
|
||||
"pezsp-runtime/try-runtime",
|
||||
"pezsp-version/try-runtime",
|
||||
]
|
||||
serde = []
|
||||
with-tracing = []
|
||||
|
||||
@@ -35,7 +35,12 @@ std = [
|
||||
]
|
||||
|
||||
# Serde support without relying on std features.
|
||||
serde = ["dep:serde", "pezsp-core/serde", "scale-info/serde"]
|
||||
serde = [
|
||||
"codec/serde",
|
||||
"dep:serde",
|
||||
"pezsp-core/serde",
|
||||
"scale-info/serde",
|
||||
]
|
||||
|
||||
# This feature enables all crypto primitives for `no_std` builds like microcontrollers
|
||||
# or Intel SGX.
|
||||
@@ -63,3 +68,7 @@ bandersnatch-experimental = [
|
||||
"pezsp-core/bandersnatch-experimental",
|
||||
"pezsp-io/bandersnatch-experimental",
|
||||
]
|
||||
with-tracing = []
|
||||
runtime-benchmarks = [
|
||||
"pezsp-io/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -29,4 +29,12 @@ bls-experimental = ["bizinikiwi-test-runtime-client/bls-experimental"]
|
||||
runtime-benchmarks = [
|
||||
"bizinikiwi-test-runtime-client/runtime-benchmarks",
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-application-crypto/runtime-benchmarks",
|
||||
]
|
||||
std = [
|
||||
"bizinikiwi-test-runtime-client/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-keystore/std",
|
||||
]
|
||||
serde = []
|
||||
with-tracing = []
|
||||
|
||||
@@ -45,4 +45,10 @@ std = [
|
||||
"serde/std",
|
||||
]
|
||||
# Serde support without relying on std features.
|
||||
serde = ["dep:serde", "scale-info/serde"]
|
||||
serde = [
|
||||
"codec/serde",
|
||||
"dep:serde",
|
||||
"primitive-types/serde",
|
||||
"rand/serde",
|
||||
"scale-info/serde",
|
||||
]
|
||||
|
||||
@@ -46,3 +46,9 @@ fraction = { workspace = true }
|
||||
honggfuzz = { workspace = true }
|
||||
num-bigint = { workspace = true }
|
||||
pezsp-arithmetic = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
std = [
|
||||
"num-bigint/std",
|
||||
]
|
||||
serde = []
|
||||
|
||||
@@ -33,11 +33,17 @@ std = [
|
||||
"scale-info/std",
|
||||
]
|
||||
serde = [
|
||||
"codec/serde",
|
||||
"pezsp-application-crypto/serde",
|
||||
"pezsp-runtime/serde",
|
||||
"scale-info/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,9 @@ runtime-benchmarks = [
|
||||
"pezsp-inherents/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
]
|
||||
try-runtime = [
|
||||
"pezsp-api/try-runtime",
|
||||
"pezsp-inherents/try-runtime",
|
||||
"pezsp-runtime/try-runtime",
|
||||
]
|
||||
serde = []
|
||||
|
||||
@@ -37,3 +37,13 @@ runtime-benchmarks = [
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-state-machine/runtime-benchmarks",
|
||||
]
|
||||
std = [
|
||||
"codec/std",
|
||||
"pezsp-consensus/std",
|
||||
]
|
||||
try-runtime = [
|
||||
"pezsp-api/try-runtime",
|
||||
"pezsp-consensus/try-runtime",
|
||||
"pezsp-runtime/try-runtime",
|
||||
]
|
||||
serde = []
|
||||
|
||||
@@ -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"]
|
||||
|
||||
@@ -139,15 +139,27 @@ std = [
|
||||
|
||||
# Serde support without relying on std features.
|
||||
serde = [
|
||||
"array-bytes/serde",
|
||||
"bip39/serde",
|
||||
"blake2",
|
||||
"bounded-collections/serde",
|
||||
"bs58/alloc",
|
||||
"codec/serde",
|
||||
"dep:serde",
|
||||
"ed25519-zebra/serde",
|
||||
"impl-serde",
|
||||
"k256/serde",
|
||||
"log/serde",
|
||||
"parking_lot?/serde",
|
||||
"pezsp-storage/serde",
|
||||
"primitive-types/serde",
|
||||
"primitive-types/serde_no_std",
|
||||
"rand?/serde",
|
||||
"scale-info/serde",
|
||||
"schnorrkel/serde",
|
||||
"secp256k1?/serde",
|
||||
"secrecy/serde",
|
||||
"zeroize/serde",
|
||||
]
|
||||
|
||||
# This feature enables all crypto primitives for `no_std` builds like microcontrollers
|
||||
@@ -164,3 +176,4 @@ bls-experimental = ["sha2", "w3f-bls"]
|
||||
# It should not be used in production since the implementation and interface may still
|
||||
# be subject to significant changes.
|
||||
bandersnatch-experimental = ["ark-vrf"]
|
||||
experimental = []
|
||||
|
||||
@@ -27,3 +27,7 @@ libfuzzer-sys = { workspace = true }
|
||||
regex = { workspace = true }
|
||||
|
||||
pezsp-core = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
std = []
|
||||
serde = []
|
||||
|
||||
@@ -65,3 +65,6 @@ all-curves = [
|
||||
"ed-on-bls12-377",
|
||||
"ed-on-bls12-381-bandersnatch",
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"pezsp-runtime-interface?/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -45,3 +45,4 @@ std = [
|
||||
"sha3/std",
|
||||
"twox-hash/std",
|
||||
]
|
||||
serde = []
|
||||
|
||||
@@ -22,3 +22,8 @@ proc-macro = true
|
||||
pezsp-crypto-hashing = { workspace = true }
|
||||
quote = { workspace = true }
|
||||
syn = { features = ["full", "parsing"], workspace = true }
|
||||
|
||||
[features]
|
||||
std = [
|
||||
"pezsp-crypto-hashing/std",
|
||||
]
|
||||
|
||||
@@ -16,3 +16,6 @@ workspace = true
|
||||
[dependencies]
|
||||
kvdb = { workspace = true }
|
||||
parking_lot = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
serde = []
|
||||
|
||||
@@ -24,3 +24,4 @@ pezsp-storage = { workspace = true }
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = ["codec/std", "environmental/std", "pezsp-storage/std"]
|
||||
serde = []
|
||||
|
||||
@@ -37,3 +37,8 @@ runtime-benchmarks = [
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
]
|
||||
try-runtime = [
|
||||
"pezsp-api/try-runtime",
|
||||
"pezsp-runtime/try-runtime",
|
||||
]
|
||||
serde = []
|
||||
|
||||
@@ -37,3 +37,7 @@ std = [
|
||||
"thiserror",
|
||||
]
|
||||
runtime-benchmarks = ["pezsp-runtime?/runtime-benchmarks"]
|
||||
try-runtime = [
|
||||
"pezsp-runtime?/try-runtime",
|
||||
]
|
||||
serde = []
|
||||
|
||||
@@ -130,3 +130,4 @@ runtime-benchmarks = [
|
||||
"pezsp-state-machine?/runtime-benchmarks",
|
||||
"pezsp-trie?/runtime-benchmarks",
|
||||
]
|
||||
serde = []
|
||||
|
||||
@@ -30,3 +30,7 @@ std = ["pezsp-core/std", "pezsp-runtime/std", "strum/std"]
|
||||
# be subject to significant changes.
|
||||
bandersnatch-experimental = ["pezsp-core/bandersnatch-experimental"]
|
||||
runtime-benchmarks = ["pezsp-runtime/runtime-benchmarks"]
|
||||
try-runtime = [
|
||||
"pezsp-runtime/try-runtime",
|
||||
]
|
||||
serde = []
|
||||
|
||||
@@ -39,3 +39,4 @@ bls-experimental = ["pezsp-core/bls-experimental"]
|
||||
# It should not be used in production since the implementation and interface may still
|
||||
# be subject to significant changes.
|
||||
bandersnatch-experimental = ["pezsp-core/bandersnatch-experimental"]
|
||||
serde = []
|
||||
|
||||
@@ -16,3 +16,6 @@ workspace = true
|
||||
[dependencies]
|
||||
thiserror = { workspace = true }
|
||||
zstd = { workspace = true }
|
||||
|
||||
[features]
|
||||
experimental = []
|
||||
|
||||
@@ -47,7 +47,10 @@ std = [
|
||||
|
||||
# Serde support without relying on std features.
|
||||
serde = [
|
||||
"array-bytes/serde",
|
||||
"codec/serde",
|
||||
"dep:serde",
|
||||
"log/serde",
|
||||
"pezsp-core/serde",
|
||||
"pezsp-runtime/serde",
|
||||
"scale-info/serde",
|
||||
@@ -56,3 +59,7 @@ runtime-benchmarks = [
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
]
|
||||
try-runtime = [
|
||||
"pezsp-api/try-runtime",
|
||||
"pezsp-runtime/try-runtime",
|
||||
]
|
||||
|
||||
@@ -23,3 +23,4 @@ scale-info = { features = ["derive"], workspace = true }
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = ["codec/std", "frame-metadata/std", "scale-info/std"]
|
||||
serde = []
|
||||
|
||||
@@ -33,4 +33,8 @@ std = [
|
||||
"pezsp-application-crypto/std",
|
||||
"scale-info/std",
|
||||
]
|
||||
runtime-benchmarks = ["pezsp-api/runtime-benchmarks"]
|
||||
runtime-benchmarks = [
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-application-crypto/runtime-benchmarks",
|
||||
]
|
||||
serde = []
|
||||
|
||||
@@ -38,6 +38,7 @@ std = [
|
||||
|
||||
# Serde support without relying on std features.
|
||||
serde = [
|
||||
"codec/serde",
|
||||
"dep:serde",
|
||||
"pezsp-arithmetic/serde",
|
||||
"pezsp-core/serde",
|
||||
@@ -45,3 +46,6 @@ serde = [
|
||||
"scale-info/serde",
|
||||
]
|
||||
runtime-benchmarks = ["pezsp-runtime/runtime-benchmarks"]
|
||||
try-runtime = [
|
||||
"pezsp-runtime/try-runtime",
|
||||
]
|
||||
|
||||
@@ -47,3 +47,9 @@ runtime-benchmarks = [
|
||||
"pezsp-npos-elections/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
]
|
||||
std = []
|
||||
try-runtime = [
|
||||
"pezsp-npos-elections/try-runtime",
|
||||
"pezsp-runtime/try-runtime",
|
||||
]
|
||||
serde = []
|
||||
|
||||
@@ -28,3 +28,8 @@ runtime-benchmarks = [
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
]
|
||||
try-runtime = [
|
||||
"pezsp-api/try-runtime",
|
||||
"pezsp-runtime/try-runtime",
|
||||
]
|
||||
serde = []
|
||||
|
||||
@@ -19,3 +19,7 @@ targets = ["x86_64-unknown-linux-gnu"]
|
||||
[dependencies]
|
||||
backtrace = { workspace = true }
|
||||
regex = { workspace = true }
|
||||
|
||||
[features]
|
||||
std = []
|
||||
serde = []
|
||||
|
||||
@@ -14,3 +14,9 @@ workspace = true
|
||||
|
||||
[dependencies]
|
||||
alloy-core = { workspace = true, features = ["sol-types"] }
|
||||
|
||||
[features]
|
||||
std = [
|
||||
"alloy-core/std",
|
||||
]
|
||||
serde = []
|
||||
|
||||
@@ -23,3 +23,7 @@ serde = { features = ["derive"], workspace = true, default-features = true }
|
||||
|
||||
[dev-dependencies]
|
||||
serde_json = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
std = []
|
||||
serde = []
|
||||
|
||||
@@ -55,3 +55,5 @@ std = [
|
||||
# check is changed into a runtime check.
|
||||
disable_target_static_assertions = []
|
||||
runtime-benchmarks = []
|
||||
serde = []
|
||||
with-tracing = []
|
||||
|
||||
@@ -29,7 +29,15 @@ bizinikiwi-wasm-builder = { optional = true, workspace = true, default-features
|
||||
default = ["std"]
|
||||
std = [
|
||||
"bizinikiwi-wasm-builder",
|
||||
"bizinikiwi-wasm-builder?/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-io/std",
|
||||
"pezsp-runtime-interface/std",
|
||||
]
|
||||
serde = []
|
||||
with-tracing = []
|
||||
runtime-benchmarks = [
|
||||
"bizinikiwi-wasm-builder?/runtime-benchmarks",
|
||||
"pezsp-io/runtime-benchmarks",
|
||||
"pezsp-runtime-interface/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -30,8 +30,16 @@ bizinikiwi-wasm-builder = { optional = true, workspace = true, default-features
|
||||
default = ["std"]
|
||||
std = [
|
||||
"bizinikiwi-wasm-builder",
|
||||
"bizinikiwi-wasm-builder?/std",
|
||||
"bytes/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-io/std",
|
||||
"pezsp-runtime-interface/std",
|
||||
]
|
||||
serde = []
|
||||
with-tracing = []
|
||||
runtime-benchmarks = [
|
||||
"bizinikiwi-wasm-builder?/runtime-benchmarks",
|
||||
"pezsp-io/runtime-benchmarks",
|
||||
"pezsp-runtime-interface/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -32,7 +32,18 @@ tracing-core = { workspace = true, default-features = true }
|
||||
runtime-benchmarks = [
|
||||
"pezsc-executor/runtime-benchmarks",
|
||||
"pezsp-io/runtime-benchmarks",
|
||||
"pezsp-runtime-interface-test-wasm-deprecated/runtime-benchmarks",
|
||||
"pezsp-runtime-interface-test-wasm/runtime-benchmarks",
|
||||
"pezsp-runtime-interface/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-state-machine/runtime-benchmarks",
|
||||
]
|
||||
std = [
|
||||
"pezsc-executor-common/std",
|
||||
]
|
||||
try-runtime = [
|
||||
"pezsc-executor/try-runtime",
|
||||
"pezsp-runtime/try-runtime",
|
||||
]
|
||||
serde = []
|
||||
with-tracing = []
|
||||
|
||||
@@ -59,6 +59,7 @@ zstd = { workspace = true }
|
||||
[features]
|
||||
runtime-benchmarks = [
|
||||
"pez-binary-merkle-tree/runtime-benchmarks",
|
||||
"pezsp-application-crypto/runtime-benchmarks",
|
||||
"pezsp-io/runtime-benchmarks",
|
||||
"pezsp-state-machine/runtime-benchmarks",
|
||||
"pezsp-trie/runtime-benchmarks",
|
||||
@@ -93,10 +94,17 @@ std = [
|
||||
|
||||
# Serde support without relying on std features.
|
||||
serde = [
|
||||
"bytes/serde",
|
||||
"codec/serde",
|
||||
"dep:serde",
|
||||
"either/serde",
|
||||
"log/serde",
|
||||
"pezsp-application-crypto/serde",
|
||||
"pezsp-arithmetic/serde",
|
||||
"pezsp-core/serde",
|
||||
"pezsp-weights/serde",
|
||||
"rand?/serde",
|
||||
"scale-info/serde",
|
||||
]
|
||||
experimental = []
|
||||
with-tracing = []
|
||||
|
||||
@@ -41,3 +41,9 @@ runtime-benchmarks = [
|
||||
"pezsp-runtime?/runtime-benchmarks",
|
||||
"pezsp-staking/runtime-benchmarks",
|
||||
]
|
||||
try-runtime = [
|
||||
"pezsp-api/try-runtime",
|
||||
"pezsp-runtime?/try-runtime",
|
||||
"pezsp-staking/try-runtime",
|
||||
]
|
||||
serde = []
|
||||
|
||||
@@ -35,3 +35,13 @@ std = [
|
||||
"serde/std",
|
||||
]
|
||||
runtime-benchmarks = ["pezsp-runtime/runtime-benchmarks"]
|
||||
try-runtime = [
|
||||
"pezsp-runtime/try-runtime",
|
||||
]
|
||||
serde = [
|
||||
"codec/serde",
|
||||
"dep:serde",
|
||||
"pezsp-core/serde",
|
||||
"pezsp-runtime/serde",
|
||||
"scale-info/serde",
|
||||
]
|
||||
|
||||
@@ -50,6 +50,7 @@ std = [
|
||||
"pezsp-core/std",
|
||||
"pezsp-externalities/std",
|
||||
"pezsp-panic-handler",
|
||||
"pezsp-panic-handler?/std",
|
||||
"pezsp-trie/std",
|
||||
"rand",
|
||||
"thiserror",
|
||||
@@ -57,3 +58,4 @@ std = [
|
||||
"trie-db/std",
|
||||
]
|
||||
runtime-benchmarks = ["pezsp-trie/runtime-benchmarks"]
|
||||
serde = []
|
||||
|
||||
@@ -65,13 +65,23 @@ std = [
|
||||
"x25519-dalek",
|
||||
]
|
||||
serde = [
|
||||
"codec/serde",
|
||||
"curve25519-dalek?/serde",
|
||||
"ed25519-dalek?/serde",
|
||||
"pezsp-application-crypto/serde",
|
||||
"pezsp-core/serde",
|
||||
"pezsp-runtime/serde",
|
||||
"rand?/serde",
|
||||
"scale-info/serde",
|
||||
"x25519-dalek?/serde",
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-application-crypto/runtime-benchmarks",
|
||||
"pezsp-runtime-interface/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
]
|
||||
try-runtime = [
|
||||
"pezsp-api/try-runtime",
|
||||
"pezsp-runtime/try-runtime",
|
||||
]
|
||||
|
||||
@@ -28,4 +28,8 @@ default = ["std"]
|
||||
std = ["codec/std", "impl-serde/std", "pezsp-debug-derive/std", "serde/std"]
|
||||
|
||||
# Serde support without relying on std features.
|
||||
serde = ["dep:serde", "impl-serde"]
|
||||
serde = [
|
||||
"codec/serde",
|
||||
"dep:serde",
|
||||
"impl-serde",
|
||||
]
|
||||
|
||||
@@ -37,9 +37,17 @@ std = [
|
||||
|
||||
# Serde support without relying on std features.
|
||||
serde = [
|
||||
"codec/serde",
|
||||
"dep:serde",
|
||||
"pezsp-application-crypto/serde",
|
||||
"pezsp-core/serde",
|
||||
"pezsp-runtime/serde",
|
||||
"scale-info/serde",
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"pezsp-application-crypto/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
]
|
||||
try-runtime = [
|
||||
"pezsp-runtime/try-runtime",
|
||||
]
|
||||
runtime-benchmarks = ["pezsp-runtime/runtime-benchmarks"]
|
||||
|
||||
@@ -36,3 +36,8 @@ runtime-benchmarks = [
|
||||
"pezsp-inherents/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
]
|
||||
try-runtime = [
|
||||
"pezsp-inherents/try-runtime",
|
||||
"pezsp-runtime/try-runtime",
|
||||
]
|
||||
serde = []
|
||||
|
||||
@@ -43,3 +43,4 @@ std = [
|
||||
"tracing/std",
|
||||
"with-tracing",
|
||||
]
|
||||
serde = []
|
||||
|
||||
@@ -27,3 +27,8 @@ runtime-benchmarks = [
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
]
|
||||
try-runtime = [
|
||||
"pezsp-api/try-runtime",
|
||||
"pezsp-runtime/try-runtime",
|
||||
]
|
||||
serde = []
|
||||
|
||||
@@ -41,3 +41,8 @@ runtime-benchmarks = [
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-trie?/runtime-benchmarks",
|
||||
]
|
||||
try-runtime = [
|
||||
"pezsp-inherents/try-runtime",
|
||||
"pezsp-runtime/try-runtime",
|
||||
]
|
||||
serde = []
|
||||
|
||||
@@ -67,3 +67,4 @@ std = [
|
||||
"trie-root/std",
|
||||
]
|
||||
runtime-benchmarks = []
|
||||
serde = []
|
||||
|
||||
@@ -34,16 +34,27 @@ std = [
|
||||
"codec/std",
|
||||
"impl-serde/std",
|
||||
"parity-wasm",
|
||||
"pezsp-crypto-hashing-proc-macro/std",
|
||||
"pezsp-runtime/std",
|
||||
"pezsp-std/std",
|
||||
"pezsp-version-proc-macro/std",
|
||||
"scale-info/std",
|
||||
"serde/std",
|
||||
"thiserror",
|
||||
]
|
||||
|
||||
# Serde support without relying on std features.
|
||||
serde = ["dep:serde", "impl-serde", "pezsp-runtime/serde"]
|
||||
serde = [
|
||||
"codec/serde",
|
||||
"dep:serde",
|
||||
"impl-serde",
|
||||
"pezsp-runtime/serde",
|
||||
"scale-info/serde",
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-version-proc-macro/runtime-benchmarks",
|
||||
]
|
||||
try-runtime = [
|
||||
"pezsp-runtime/try-runtime",
|
||||
]
|
||||
|
||||
@@ -30,3 +30,5 @@ pezsp-version = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
runtime-benchmarks = ["pezsp-version/runtime-benchmarks"]
|
||||
std = []
|
||||
serde = []
|
||||
|
||||
@@ -27,3 +27,4 @@ wasmtime = { optional = true, workspace = true }
|
||||
default = ["std"]
|
||||
std = ["anyhow?/std", "codec/std", "log/std", "wasmtime?/std"]
|
||||
wasmtime = ["anyhow", "dep:wasmtime"]
|
||||
serde = []
|
||||
|
||||
@@ -43,9 +43,11 @@ full-metadata-docs = ["scale-info/docs"]
|
||||
# Serde support without relying on std features.
|
||||
serde = [
|
||||
"bounded-collections/serde",
|
||||
"codec/serde",
|
||||
"dep:serde",
|
||||
"pezsp-arithmetic/serde",
|
||||
"scale-info/serde",
|
||||
"smallvec/serde",
|
||||
]
|
||||
|
||||
json-schema = ["dep:schemars"]
|
||||
|
||||
Reference in New Issue
Block a user