# 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 = "fastcrypto" version = "0.1.8" authors = ["Mysten Labs "] publish = ["crates-io"] description = "Common cryptographic library used at Mysten Labs" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/MystenLabs/fastcrypto" [[bench]] name = "crypto" harness = false required-features = ["experimental"] [[bench]] name = "encoding" harness = false [[bench]] name = "ecvrf_ristretto" harness = false [[bench]] name = "groups" harness = false [[bench]] name = "mskr" harness = false required-features = ["experimental"] [[bench]] name = "serialize" harness = false [[bench]] name = "hash" harness = false [dependencies.aes] version = "0.8.2" optional = true [dependencies.aes-gcm] version = "0.10.1" optional = true [dependencies.ark-ec] version = "0.4.1" [dependencies.ark-ff] version = "0.4.1" [dependencies.ark-secp256r1] version = "0.4.0" [dependencies.ark-serialize] version = "0.4.1" [dependencies.auto_ops] version = "0.3.0" [dependencies.base64ct] version = "1.5.3" features = ["alloc"] [dependencies.bech32] version = "0.9.1" [dependencies.bincode] version = "1.3.3" [dependencies.blake2] version = "0.10.6" [dependencies.blst] version = "0.3.10" features = ["no-threads"] [dependencies.bs58] version = "0.4.0" [dependencies.bulletproofs] version = "4.0.0" optional = true [dependencies.cbc] version = "0.1.2" features = ["std"] optional = true [dependencies.ctr] version = "0.9.2" optional = true [dependencies.curve25519-dalek-ng] version = "4.1.1" [dependencies.derive_more] version = "0.99.16" [dependencies.digest] version = "0.10.6" [dependencies.ecdsa] version = "0.16.6" features = [ "rfc6979", "verifying", ] [dependencies.ed25519-consensus] version = "2.1.0" features = ["serde"] [dependencies.elliptic-curve] version = "0.13.2" features = ["hash2curve"] [dependencies.eyre] version = "0.6.8" [dependencies.fastcrypto-derive] version = "0.1.3" [dependencies.generic-array] version = "0.14.6" features = ["serde"] [dependencies.hex] version = "0.4.3" [dependencies.hex-literal] version = "0.4.1" [dependencies.hkdf] version = "0.12.3" features = ["std"] [dependencies.lazy_static] version = "1.4.0" [dependencies.merlin] version = "3.0.0" optional = true [dependencies.num-bigint] version = "0.4.4" [dependencies.once_cell] version = "1.17.0" [dependencies.p256] version = "0.13.2" features = ["ecdsa"] [dependencies.rand] version = "0.8.5" features = ["std"] [dependencies.readonly] version = "0.2.3" [dependencies.rfc6979] version = "0.4.0" [dependencies.rsa] version = "0.8.2" features = ["sha2"] [dependencies.rust_secp256k1] version = "0.27.0" features = [ "recovery", "rand-std", "bitcoin_hashes", "global-context", ] package = "secp256k1" [dependencies.schemars] version = "0.8.12" [dependencies.serde] version = "1.0.152" features = ["derive"] [dependencies.serde-big-array] version = "0.5.0" optional = true [dependencies.serde_json] version = "1.0.93" [dependencies.serde_with] version = "2.1.0" [dependencies.sha2] version = "0.10.6" [dependencies.sha3] version = "0.10.6" [dependencies.signature] version = "2.0.0" [dependencies.static_assertions] version = "1.1.0" [dependencies.thiserror] version = "1.0.38" [dependencies.tokio] version = "1.24.1" features = [ "sync", "rt", "macros", ] [dependencies.twox-hash] version = "1.6.3" optional = true [dependencies.typenum] version = "1.16.0" [dependencies.zeroize] version = "1.5.7" [dev-dependencies.base58] version = "0.2.0" [dev-dependencies.base64] version = "0.21.0" [dev-dependencies.bcs] version = "0.1.4" [dev-dependencies.criterion] version = "0.4.0" [dev-dependencies.faster-hex] version = "0.6.1" [dev-dependencies.k256] version = "0.11.6" features = [ "ecdsa", "sha256", "keccak256", ] [dev-dependencies.proptest] version = "1.1.0" [dev-dependencies.radix64] version = "0.6.2" [dev-dependencies.rust-base58] version = "0.0.4" [dev-dependencies.rustc-hex] version = "2.1.0" [dev-dependencies.serde-reflection] version = "0.3.6" [dev-dependencies.wycheproof] version = "0.5.0" [features] aes = [ "dep:aes", "dep:cbc", "dep:aes-gcm", "dep:ctr", ] copy_key = [] default = [] experimental = [ "dep:bulletproofs", "dep:merlin", ] unsecure_schemes = [ "dep:twox-hash", "dep:serde-big-array", ]