# 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" name = "utility-crypto" version = "0.19.0" authors = ["Near Inc "] publish = true description = "This is an internal crate for common cryptographic types" license = "MIT OR Apache-2.0" repository = "https://github.com/near/nearcore" [dependencies.blake2] version = "0.9.1" [dependencies.borsh] version = "1.0.0" features = [ "derive", "rc", ] [dependencies.bs58] version = "0.4" [dependencies.c2-chacha] version = "0.3" [dependencies.curve25519-dalek] version = "4.1.1" features = [ "alloc", "precomputed-tables", "rand_core", ] default-features = false [dependencies.derive_more] version = "0.99.9" [dependencies.ed25519-dalek] version = "2.1.0" features = [ "hazmat", "rand_core", ] default-features = false [dependencies.hex] version = "0.4.2" features = ["serde"] [dependencies.near-account-id] version = "1.0.0-alpha.4" features = [ "internal_unstable", "serde", "borsh", ] [dependencies.near-config-utils] version = "0.19.0" [dependencies.once_cell] version = "1.13.1" [dependencies.primitive-types] version = "0.10" default-features = false [dependencies.rand] version = "0.7" [dependencies.rsa] version = "0.9.6" features = [ "sha2", "getrandom", ] [dependencies.rsa-export] version = "0.3.3" [dependencies.secp256k1] version = "0.27.0" features = [ "recovery", "rand-std", ] [dependencies.serde] version = "1.0.136" features = [ "alloc", "derive", "rc", ] [dependencies.serde_json] version = "1.0.68" [dependencies.stdx] version = "0.19.0" package = "near-stdx" [dependencies.subtle] version = "2.2" [dependencies.thiserror] version = "1.0.30" [dev-dependencies.hex-literal] version = "0.2" [dev-dependencies.sha2] version = "0.10" [dev-dependencies.tempfile] version = "3.3" [lints.clippy] clone_on_copy = "deny" correctness = "deny" derivable_impls = "deny" len_zero = "deny" redundant_clone = "deny" suspicious = "deny" [lints.clippy.all] level = "allow" priority = -1 [lints.rust] warnings = "deny"