subxt-metadata 0.50.0

Command line utilities for checking metadata compatibility between nodes.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85.0"
name = "subxt-metadata"
version = "0.50.0"
authors = ["Parity Technologies <admin@parity.io>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Command line utilities for checking metadata compatibility between nodes."
homepage = "https://www.parity.io/"
documentation = "https://docs.rs/subxt"
readme = false
license = "Apache-2.0 OR GPL-3.0"
repository = "https://github.com/paritytech/subxt"
resolver = "2"

[features]
default = [
    "std",
    "legacy",
]
legacy = [
    "std",
    "dep:scale-info-legacy",
    "dep:scale-type-resolver",
    "frame-decode/legacy",
    "frame-metadata/legacy",
]
std = [
    "scale-info/std",
    "frame-metadata/std",
]

[lib]
name = "subxt_metadata"
path = "src/lib.rs"
bench = false

[[bench]]
name = "bench"
path = "benches/bench.rs"
harness = false

[dependencies.codec]
version = "3.7.4"
features = ["derive"]
default-features = false
package = "parity-scale-codec"

[dependencies.frame-decode]
version = "0.17.1"
default-features = false

[dependencies.frame-metadata]
version = "23.0.0"
features = [
    "current",
    "decode",
]
default-features = false

[dependencies.hashbrown]
version = "0.14.5"

[dependencies.scale-info]
version = "2.11.4"
default-features = false

[dependencies.scale-info-legacy]
version = "0.4.2"
optional = true
default-features = false

[dependencies.scale-type-resolver]
version = "0.2.0"
optional = true

[dependencies.sp-crypto-hashing]
version = "0.1.0"
default-features = false

[dependencies.thiserror]
version = "2.0.0"
default-features = false

[lints.clippy]
type_complexity = "allow"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.rust]
bad_style = "deny"
improper_ctypes = "deny"
missing_docs = "deny"
no_mangle_generic_items = "deny"
non_shorthand_field_patterns = "deny"
overflowing_literals = "deny"
path_statements = "deny"
patterns_in_fns_without_body = "deny"
unconditional_recursion = "deny"
unused_allocation = "deny"
unused_comparisons = "deny"
unused_extern_crates = "deny"
unused_parens = "deny"