2cc5880fd9
Zombienet-SDK changes: - orchestrator: sc-chain-spec → pezsc-chain-spec - orchestrator: sp-core → pezsp-core imports - orchestrator: k8s-openapi v1_27 → v1_28 - provider: k8s-openapi v1_27 → v1_28 - sdk: k8s-openapi v1_27 → v1_28 Subxt vendor fixes: - Enable std features (remove default-features = false) - Fix lifetime annotations for Rust 2024 compatibility - Fix ecdsa/sr25519 password type conversions - Fix RecoveryId API change (i32::from → to_i32) Dependencies: - wasmtime: 35.0.0 → 37.0.0 (security fix) - tracing-subscriber: 0.3.18 → 0.3.20 (security fix) - thiserror: 1.0.64 → 2.0.17 Note: ring 0.16.20 vulnerability remains - requires libp2p 0.56 upgrade which needs extensive pezsc-network API changes.
65 lines
1.7 KiB
TOML
65 lines
1.7 KiB
TOML
[package]
|
|
name = "pezkuwi-subxt-metadata"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
publish = true
|
|
autotests = false
|
|
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
documentation.workspace = true
|
|
homepage.workspace = true
|
|
description = "Command line utilities for checking metadata compatibility between nodes."
|
|
|
|
[features]
|
|
default = ["legacy", "std"]
|
|
std = [
|
|
"bitvec/std",
|
|
"codec/std",
|
|
"frame-decode/std",
|
|
"frame-metadata/std",
|
|
"pezsp-crypto-hashing/std",
|
|
"scale-info/std",
|
|
]
|
|
|
|
# Enable decoding of legacy metadata, too.
|
|
# std required by frame-metadata to decode <V14.
|
|
legacy = [
|
|
"dep:scale-info-legacy",
|
|
"dep:scale-type-resolver",
|
|
"frame-decode/legacy",
|
|
"frame-metadata/legacy",
|
|
"std",
|
|
]
|
|
|
|
[dependencies]
|
|
codec = { package = "parity-scale-codec", workspace = true, default-features = false, features = ["derive"] }
|
|
frame-decode = { workspace = true }
|
|
frame-metadata = { workspace = true, default-features = false, features = ["current", "decode"] }
|
|
hashbrown = { workspace = true }
|
|
pezsp-crypto-hashing = { workspace = true }
|
|
scale-info = { workspace = true, default-features = false }
|
|
scale-info-legacy = { workspace = true, optional = true }
|
|
scale-type-resolver = { workspace = true, optional = true }
|
|
thiserror = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
bitvec = { workspace = true, features = ["alloc"] }
|
|
criterion = { workspace = true }
|
|
frame-decode = { workspace = true, features = ["legacy-types"] }
|
|
pezkuwi-subxt-codegen = { workspace = true }
|
|
scale-info = { workspace = true, features = ["bit-vec"] }
|
|
|
|
[lib]
|
|
# Without this, libtest cli opts interfere with criterion benches:
|
|
bench = false
|
|
|
|
[[bench]]
|
|
name = "bench"
|
|
harness = false
|
|
|
|
[lints]
|
|
workspace = true
|