Files
pezkuwi-sdk/vendor/pezkuwi-subxt/metadata/Cargo.toml
T
pezkuwichain 2779266f3b fix: resolve cargo-clippy CI errors in vendor crates
- Fix rebrand issues in pezkuwi-subxt signer (sp_core -> pezsp_core,
  sp_keyring -> pezsp_keyring, sp_runtime -> pezsp_runtime)
- Fix pezkuwi-zombienet-sdk tests (subxt::PolkadotConfig ->
  pezkuwi_subxt::PezkuwiConfig)
- Correct artifact paths in subxt examples (polkadot_metadata_*.scale)
- Fix type conversion issues in subxt examples (explicit constructors
  instead of .into() for generated types)
- Add pezkuwi-subxt-utils-stripmetadata dev-dependency to metadata crate
- Use original polkadot module from external frame-decode crate
- Fix Display trait usage for generated AccountId32 types
2025-12-24 05:59:45 +03:00

66 lines
1.8 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 }
pezkuwi-subxt-utils-stripmetadata = { 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