# 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-signer" version = "0.38.0" authors = ["Parity Technologies "] build = false publish = true autobins = false autoexamples = false autotests = false autobenches = false description = "Sign extrinsics to be submitted by Subxt" homepage = "https://www.parity.io/" documentation = "https://docs.rs/subxt" readme = "README.md" keywords = [ "parity", "subxt", "extrinsic", "signer", ] license = "Apache-2.0 OR GPL-3.0" repository = "https://github.com/paritytech/subxt" [package.metadata.cargo-machete] ignored = ["getrandom"] [package.metadata.docs.rs] default-features = true rustdoc-args = [ "--cfg", "docsrs", ] [package.metadata.playground] default-features = true [lib] name = "subxt_signer" path = "src/lib.rs" [dependencies.base64] version = "0.22.1" features = ["alloc"] optional = true default-features = false [dependencies.bip32] version = "0.5.2" features = [ "alloc", "secp256k1", ] optional = true default-features = false [dependencies.bip39] version = "2.1.0" default-features = false [dependencies.cfg-if] version = "1.0.0" [dependencies.codec] version = "3.6.9" features = ["derive"] default-features = false package = "parity-scale-codec" [dependencies.crypto_secretbox] version = "0.1.1" features = [ "alloc", "salsa20", ] optional = true default-features = false [dependencies.getrandom] version = "0.2" optional = true default-features = false [dependencies.hex] version = "0.4.3" features = ["alloc"] default-features = false [dependencies.hmac] version = "0.12.1" default-features = false [dependencies.keccak-hash] version = "0.11.0" optional = true default-features = false [dependencies.pbkdf2] version = "0.12.2" default-features = false [dependencies.polkadot-sdk] version = "0.7" features = ["sp-crypto-hashing"] default-features = false [dependencies.regex] version = "1.11.0" features = ["unicode"] default-features = false [dependencies.schnorrkel] version = "0.11.4" optional = true default-features = false [dependencies.scrypt] version = "0.11.0" optional = true default-features = false [dependencies.secp256k1] version = "0.30.0" features = [ "alloc", "recovery", ] optional = true default-features = false [dependencies.secrecy] version = "0.10.3" [dependencies.serde] version = "1.0.210" features = ["derive"] optional = true default-features = false [dependencies.serde_json] version = "1.0.128" optional = true default-features = false [dependencies.sha2] version = "0.10.8" default-features = false [dependencies.subxt-core] version = "0.38.0" optional = true default-features = false [dependencies.zeroize] version = "1" default-features = false [dev-dependencies.hex-literal] version = "0.4.1" [dev-dependencies.polkadot-sdk] version = "0.7" features = [ "sp-core", "sp-keyring", ] default-features = false [dev-dependencies.proptest] version = "1.5.0" [features] default = [ "sr25519", "ecdsa", "subxt", "std", ] ecdsa = ["secp256k1"] polkadot-js-compat = [ "std", "subxt", "sr25519", "base64", "scrypt", "crypto_secretbox", "serde", "serde_json", ] sr25519 = ["schnorrkel"] std = [ "regex/std", "pbkdf2/std", "sha2/std", "hmac/std", "bip39/std", "schnorrkel?/std", "secp256k1?/std", "serde?/std", "serde_json?/std", "base64?/std", "scrypt?/std", "crypto_secretbox?/std", ] subxt = ["dep:subxt-core"] unstable-eth = [ "keccak-hash", "ecdsa", "secp256k1", "bip32", ] web = ["getrandom/js"] [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"