# 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 = "hpke_pq" version = "0.11.1" authors = ["Bas Westerbaan "] description = "Fork of hpke that adds PQ modes" documentation = "https://docs.rs/rust-hpke" readme = "README.md" keywords = [ "cryptography", "crypto", "key-exchange", "encryption", "aead", ] categories = [ "cryptography", "no-std", ] license = "MIT/Apache-2.0" repository = "https://github.com/bwesterb/rust-hpke" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] bench = false [[example]] name = "client_server" required-features = ["x25519"] [[example]] name = "agility" required-features = [ "p256", "p384", "x25519", ] [[bench]] name = "benches" harness = false [dependencies.aead] version = "0.5" [dependencies.aes-gcm] version = "0.10" [dependencies.byteorder] version = "1.4" default-features = false [dependencies.chacha20poly1305] version = "0.10" [dependencies.digest] version = "0.10" [dependencies.generic-array] version = "0.14" default-features = false [dependencies.hkdf] version = "0.12" [dependencies.hmac] version = "0.12" [dependencies.p256] version = "0.13" features = [ "arithmetic", "ecdh", ] optional = true default-features = false [dependencies.p384] version = "0.13" features = [ "arithmetic", "ecdh", ] optional = true default-features = false [dependencies.rand_core] version = "0.6" default-features = false [dependencies.safe_pqc_kyber] version = "0.6" features = [ "kyber768", "std", ] optional = true default-features = false [dependencies.serde] version = "1.0" optional = true default-features = false [dependencies.sha2] version = "0.10" default-features = false [dependencies.subtle] version = "2.5" default-features = false [dependencies.x25519-dalek] version = "2" features = ["static_secrets"] optional = true default-features = false [dependencies.zeroize] version = "1" features = ["zeroize_derive"] default-features = false [dev-dependencies.criterion] version = "0.4" features = ["html_reports"] [dev-dependencies.hex] version = "0.4" [dev-dependencies.hex-literal] version = "0.4" [dev-dependencies.rand] version = "0.8" features = [ "getrandom", "std_rng", ] default-features = false [dev-dependencies.serde] version = "1.0" features = ["derive"] [dev-dependencies.serde_json] version = "1.0" [features] alloc = [] default = [ "alloc", "p256", "x25519", ] p256 = ["dep:p256"] p384 = ["dep:p384"] serde_impls = [ "serde", "generic-array/serde", ] std = [] x25519 = ["dep:x25519-dalek"] xyber768d00 = [ "dep:safe_pqc_kyber", "x25519", ]