# 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 = "2021" rust-version = "1.74.0" name = "subxt-core" version = "0.38.0" authors = ["Parity Technologies "] build = false publish = true autobins = false autoexamples = false autotests = false autobenches = false description = "A no-std compatible subset of Subxt's functionality" homepage = "https://www.parity.io/" documentation = "https://docs.rs/subxt" readme = "README.md" keywords = [ "parity", "subxt", "extrinsic", "no-std", ] license = "Apache-2.0 OR GPL-3.0" repository = "https://github.com/paritytech/subxt" [package.metadata.docs.rs] default-features = true rustdoc-args = [ "--cfg", "docsrs", ] [package.metadata.playground] default-features = true [lib] name = "subxt_core" path = "src/lib.rs" [dependencies.base58] version = "0.2.0" [dependencies.blake2] version = "0.10.6" default-features = false [dependencies.codec] version = "3.6.9" features = ["derive"] default-features = false package = "parity-scale-codec" [dependencies.derive-where] version = "1.2.7" [dependencies.frame-decode] version = "0.5.0" default-features = false [dependencies.frame-metadata] version = "17.0.0" default-features = false [dependencies.hashbrown] version = "0.14.5" [dependencies.hex] version = "0.4.3" features = ["alloc"] default-features = false [dependencies.impl-serde] version = "0.5.0" default-features = false [dependencies.keccak-hash] version = "0.11.0" default-features = false [dependencies.polkadot-sdk] version = "0.7" features = ["sp-crypto-hashing"] default-features = false [dependencies.primitive-types] version = "0.13.1" features = [ "codec", "serde_no_std", "scale-info", ] default-features = false [dependencies.scale-bits] version = "0.6.0" default-features = false [dependencies.scale-decode] version = "0.14.0" features = [ "derive", "primitive-types", ] default-features = false [dependencies.scale-encode] version = "0.8.0" features = [ "derive", "primitive-types", "bits", ] default-features = false [dependencies.scale-info] version = "2.11.4" features = ["bit-vec"] default-features = false [dependencies.scale-value] version = "0.17.0" default-features = false [dependencies.serde] version = "1.0.210" features = [ "derive", "derive", ] default-features = false [dependencies.serde_json] version = "1.0.128" features = [ "raw_value", "alloc", ] default-features = false [dependencies.subxt-metadata] version = "0.38.0" default-features = false [dependencies.tracing] version = "0.1.40" default-features = false [features] default = ["std"] std = [ "codec/std", "scale-info/std", "scale-value/std", "scale-bits/std", "scale-decode/std", "scale-encode/std", "frame-metadata/std", "subxt-metadata/std", "hex/std", "serde/std", "serde_json/std", "tracing/std", "impl-serde/std", "primitive-types/std", ] substrate-compat = [ "polkadot-sdk/sp-core", "polkadot-sdk/sp-runtime", "polkadot-sdk/std", ] [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"