# 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 = "diem-framework-crypto" version = "0.3.2" authors = ["Diem Association "] description = "Diem Framework Crypto utilities" readme = "README.md" license = "Apache-2.0" resolver = "2" [lib] name = "diem_crypto" [[bench]] name = "noise" harness = false [[bench]] name = "ed25519" harness = false [dependencies.aes-gcm] version = "0.8.0" [dependencies.anyhow] version = "1.0.52" [dependencies.bcs] version = "0.1.2" [dependencies.bytes] version = "1.0.1" [dependencies.curve25519-dalek] version = "0.1.0" features = ["std"] default-features = false package = "curve25519-dalek-fiat" [dependencies.diem-framework-crypto-derive] version = "0.3.0" [dependencies.digest] version = "0.9.0" [dependencies.ed25519-dalek] version = "0.1.0" features = [ "std", "serde", ] default-features = false package = "ed25519-dalek-fiat" [dependencies.hex] version = "0.4.3" [dependencies.hkdf] version = "0.10.0" [dependencies.mirai-annotations] version = "1.10.1" [dependencies.once_cell] version = "1.7.2" [dependencies.proptest] version = "1.0.0" optional = true [dependencies.proptest-derive] version = "0.3.0" optional = true [dependencies.rand] version = "0.8.0" [dependencies.rand_core] version = "0.6.2" default-features = false [dependencies.serde] version = "1.0.124" features = ["derive"] [dependencies.serde-name] version = "0.1.1" [dependencies.serde_bytes] version = "0.11.5" [dependencies.sha2] version = "0.9.3" [dependencies.static_assertions] version = "1.1.0" [dependencies.thiserror] version = "1.0.24" [dependencies.tiny-keccak] version = "2.0.2" features = ["sha3"] [dependencies.x25519-dalek] version = "0.1.0" features = ["std"] default-features = false package = "x25519-dalek-fiat" [dev-dependencies.bitvec] version = "0.19.4" [dev-dependencies.byteorder] version = "1.4.3" [dev-dependencies.criterion] version = "0.3.4" [dev-dependencies.proptest] version = "1.0.0" [dev-dependencies.proptest-derive] version = "0.3.0" [dev-dependencies.ripemd160] version = "0.9.1" [dev-dependencies.serde_json] version = "1.0.64" [dev-dependencies.sha3] version = "0.9.1" [dev-dependencies.trybuild] version = "=1.0.53" [features] assert-private-keys-not-cloneable = [] cloneable-private-keys = [] default = ["fiat"] fiat = [ "curve25519-dalek/fiat_u64_backend", "ed25519-dalek/fiat_u64_backend", "x25519-dalek/fiat_u64_backend", ] fuzzing = [ "proptest", "proptest-derive", "cloneable-private-keys", ] u32 = [ "curve25519-dalek/u32_backend", "ed25519-dalek/u32_backend", "x25519-dalek/u32_backend", ] u64 = [ "curve25519-dalek/u64_backend", "ed25519-dalek/u64_backend", "x25519-dalek/u64_backend", ]