subxt-codegen 0.50.0

Generate an API for interacting with a substrate node from FRAME metadata
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-codegen"
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 = "Generate an API for interacting with a substrate node from FRAME metadata"
homepage = "https://www.parity.io/"
documentation = "https://docs.rs/subxt-codegen"
readme = false
license = "Apache-2.0 OR GPL-3.0"
repository = "https://github.com/paritytech/subxt"
resolver = "2"

[package.metadata.docs.rs]
features = ["default"]

[package.metadata.playground]
default-features = true

[features]
default = []
web = ["getrandom/js"]

[lib]
name = "subxt_codegen"
path = "src/lib.rs"

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

[dependencies.frame-metadata]
version = "23.0.0"
optional = true
default-features = false

[dependencies.getrandom]
version = "0.2"
optional = true
default-features = false

[dependencies.heck]
version = "0.5.0"

[dependencies.proc-macro2]
version = "1.0.86"

[dependencies.quote]
version = "1.0.37"

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

[dependencies.scale-typegen]
version = "0.12.0"

[dependencies.subxt-metadata]
version = "0.50.0"
default-features = false

[dependencies.syn]
version = "2.0.77"
features = [
    "full",
    "extra-traits",
]

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

[dev-dependencies.frame-metadata]
version = "23.0.0"
default-features = false

[dev-dependencies.scale-info]
version = "2.11.4"
features = ["bit-vec"]
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"