# 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.65" name = "askar-crypto" version = "0.3.1" authors = ["Hyperledger Aries Contributors "] description = "Hyperledger Aries Askar cryptography" readme = "README.md" keywords = [ "hyperledger", "aries", "didcomm", "ssi", ] categories = [ "cryptography", "no-std", ] license = "MIT OR Apache-2.0" repository = "https://github.com/hyperledger/aries-askar/" [package.metadata.docs.rs] features = [ "argon2", "std", ] rustdoc-args = [ "--cfg", "docsrs", ] [[bench]] name = "enc" harness = false [[bench]] name = "kdf" harness = false [dependencies.aead] version = "0.5" [dependencies.aes-core] version = "0.8" optional = true default-features = false package = "aes" [dependencies.aes-gcm] version = "0.10" features = ["aes"] optional = true default-features = false [dependencies.arbitrary] version = "1.0" features = ["derive"] optional = true [dependencies.argon2] version = "0.5" features = [ "alloc", "password-hash", ] optional = true default-features = false [dependencies.base64] version = "0.21" default-features = false [dependencies.blake2] version = "0.10" default-features = false [dependencies.block-modes] version = "0.9" optional = true default-features = false [dependencies.bls12_381] version = "0.8" features = [ "groups", "zeroize", ] optional = true default-features = false [dependencies.cbc] version = "0.1" optional = true default-features = false [dependencies.chacha20] version = "0.9" [dependencies.chacha20poly1305] version = "0.10" optional = true default-features = false [dependencies.cipher] version = "0.4" features = ["block-padding"] optional = true default-features = false [dependencies.crypto_box_rs] version = "0.9" features = ["salsa20"] optional = true default-features = false package = "crypto_box" [dependencies.curve25519-dalek] version = "4" optional = true default-features = false [dependencies.digest] version = "0.10" [dependencies.ed25519-dalek] version = "2" features = ["zeroize"] optional = true default-features = false [dependencies.elliptic-curve] version = "0.13" optional = true [dependencies.group] version = "0.13" [dependencies.hkdf] version = "0.12" optional = true [dependencies.hmac] version = "0.12" optional = true [dependencies.k256] version = "0.13" features = [ "arithmetic", "ecdsa", "ecdh", "sha256", ] optional = true default-features = false [dependencies.p256] version = "0.13" features = [ "arithmetic", "ecdsa", "ecdh", ] optional = true default-features = false [dependencies.p384] version = "0.13" features = [ "arithmetic", "ecdsa", "ecdh", ] optional = true default-features = false [dependencies.rand] version = "0.8" default-features = false [dependencies.serde] version = "1.0" features = ["derive"] default-features = false [dependencies.serde-json-core] version = "0.5" default-features = false [dependencies.sha2] version = "0.10" default-features = false [dependencies.subtle] version = "2.4" [dependencies.x25519-dalek] version = "2" features = [ "static_secrets", "zeroize", ] optional = true default-features = false [dependencies.zeroize] version = "1.5" features = ["zeroize_derive"] [dev-dependencies.base64] version = "0.21" features = ["alloc"] default-features = false [dev-dependencies.criterion] version = "0.5" [dev-dependencies.hex-literal] version = "0.4" [dev-dependencies.serde-json-core] version = "0.5" features = ["std"] default-features = false [dev-dependencies.serde_cbor] version = "0.11" [features] aes = [ "aes-core", "aes-gcm", "block-modes", "cbc", "cipher", "hmac", ] all_keys = [ "aes", "bls", "chacha", "ec_curves", "ed25519", ] alloc = [] any_key = ["alloc"] bls = [ "bls12_381", "hkdf", ] chacha = ["chacha20poly1305"] crypto_box = [ "alloc", "crypto_box_rs", "ed25519", "getrandom", ] default = [ "alloc", "any_key", "all_keys", "crypto_box", ] ec_curves = [ "elliptic-curve", "k256", "p256", "p384", ] ed25519 = [ "curve25519-dalek", "ed25519-dalek", "x25519-dalek", ] getrandom = ["rand/getrandom"] std = [ "alloc", "serde/std", "serde-json-core/std", "std_rng", ] std_rng = [ "getrandom", "rand/std", "rand/std_rng", ]