# 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.74" name = "dhkem" version = "0.0.1-alpha" build = false autobins = false autoexamples = false autotests = false autobenches = false description = """ Pure Rust implementation of Key Encapsulation Mechanism (KEM) adapters for Elliptic Curve Diffie Hellman (ECDH) protocols """ readme = "README.md" keywords = [ "crypto", "ecdh", "ecc", ] categories = ["cryptography"] license = "Apache-2.0 OR MIT" repository = "https://github.com/RustCrypto/KEMs/tree/master/dhkem" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "dhkem" path = "src/lib.rs" [[test]] name = "hpke_p256_test" path = "tests/hpke_p256_test.rs" [[test]] name = "tests" path = "tests/tests.rs" [dependencies.elliptic-curve] version = "0.13.8" optional = true default-features = false [dependencies.k256] version = "0.13.3" features = ["arithmetic"] optional = true default-features = false [dependencies.kem] version = "0.3.0-pre.0" [dependencies.p256] version = "0.13.2" features = ["arithmetic"] optional = true default-features = false [dependencies.p384] version = "0.13.0" features = ["arithmetic"] optional = true default-features = false [dependencies.p521] version = "0.13.3" features = ["arithmetic"] optional = true default-features = false [dependencies.rand_core] version = "0.6.4" [dependencies.x25519] version = "2.0.1" optional = true default-features = false package = "x25519-dalek" [dependencies.zeroize] version = "1.8.1" optional = true default-features = false [dev-dependencies.hex-literal] version = "0.4.1" [dev-dependencies.hkdf] version = "0.12.4" [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.sha2] version = "0.10.8" [features] default = ["zeroize"] ecdh = [ "dep:elliptic-curve", "elliptic-curve/ecdh", ] k256 = [ "dep:k256", "ecdh", ] p256 = [ "dep:p256", "ecdh", ] p384 = [ "dep:p384", "ecdh", ] p521 = [ "dep:p521", "ecdh", ] x25519 = [ "dep:x25519", "x25519/reusable_secrets", ] zeroize = ["dep:zeroize"]