# 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 = "libes" version = "0.9.1" authors = ["Tomas Rohatynski"] description = "Collection of Elliptic Curve Integrated Encryption Scheme(s)" homepage = "https://github.com/TJRoh01/libes" readme = "README_CRATES_IO.md" keywords = [ "library", "encryption", "cypto", "ecc", "ecies", ] categories = [ "cryptography", "data-structures", "encoding", "algorithms", ] license = "MIT OR Apache-2.0" repository = "https://github.com/TJRoh01/libes" [package.metadata.docs.rs] all-features = true [lib] name = "libes" crate-type = [ "rlib", "dylib", ] path = "src/lib.rs" test = true doctest = true bench = false doc = true [dependencies.aes-gcm] version = "0.10" optional = true [dependencies.chacha20poly1305] version = "0.10" optional = true [dependencies.curve25519-dalek] version = "3.2" optional = true [dependencies.ed25519-dalek] version = "1.0" optional = true [dependencies.hkdf] version = "0.12" [dependencies.hmac] version = "0.12" optional = true [dependencies.k256] version = "0.13" features = [ "arithmetic", "ecdh", "ecdsa", ] optional = true [dependencies.p256] version = "0.13" features = [ "arithmetic", "ecdh", "ecdsa", ] optional = true [dependencies.p384] version = "0.13" features = [ "arithmetic", "ecdh", "ecdsa", ] optional = true [dependencies.rand_core] version = "0.6" features = ["getrandom"] [dependencies.sha2] version = "0.10" [dependencies.x25519-dalek] version = "2.0.0-rc.2" features = [ "reusable_secrets", "static_secrets", ] optional = true [dev-dependencies.rand] version = "0.7" [features] AES256-GCM = ["dep:aes-gcm"] ChaCha20-Poly1305 = ["dep:chacha20poly1305"] ECIES-AEAD = [] ECIES-MAC = [] ECIES-SYN = [] HMAC-SHA256 = ["dep:hmac"] K-256 = ["secp256k1"] P-256 = ["secp256r1"] P-384 = ["secp384r1"] XChaCha20-Poly1305 = ["dep:chacha20poly1305"] ed25519 = [ "dep:ed25519-dalek", "dep:x25519-dalek", "dep:curve25519-dalek", ] secp256k1 = ["dep:k256"] secp256r1 = ["dep:p256"] secp384r1 = ["dep:p384"] x25519 = ["dep:x25519-dalek"]