[package]
edition = "2024"
rust-version = "1.87"
name = "hpke-http"
version = "2.0.2"
authors = ["Duale AI"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Bounded whole-message HPKE engine for HTTP request and response protection"
documentation = "https://docs.rs/hpke-http"
readme = "README.md"
keywords = [
"hpke",
"http",
"encryption",
"rfc9180",
]
categories = [
"cryptography",
"web-programming",
]
license = "Apache-2.0"
repository = "https://github.com/dualeai/hpke-http"
[lib]
name = "hpke_http"
path = "src/lib.rs"
[[test]]
name = "compression"
path = "tests/compression.rs"
[[test]]
name = "corpus"
path = "tests/corpus.rs"
[[test]]
name = "rejections"
path = "tests/rejections.rs"
[[test]]
name = "transactions"
path = "tests/transactions.rs"
[[bench]]
name = "transactions"
path = "benches/transactions.rs"
harness = false
[dependencies.chacha20poly1305]
version = "0.11.0"
features = [
"alloc",
"zeroize",
]
default-features = false
[dependencies.flate2]
version = "1.1.9"
[dependencies.getrandom]
version = "0.4.2"
default-features = false
[dependencies.hkdf]
version = "0.13.0"
[dependencies.hpke]
version = "0.14.1"
features = [
"alloc",
"chacha",
"x25519",
]
default-features = false
[dependencies.rand_chacha]
version = "0.10.0"
default-features = false
[dependencies.rand_core]
version = "0.10.1"
default-features = false
[dependencies.ruzstd]
version = "0.9.0"
[dependencies.sha2]
version = "0.11.0"
default-features = false
[dependencies.thiserror]
version = "2.0.20"
[dependencies.zeroize]
version = "1.9.0"
features = ["derive"]
[dev-dependencies.divan]
version = "=5.0.2"
package = "codspeed-divan-compat"
[dev-dependencies.serde_json]
version = "1.0.145"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.getrandom]
version = "0.4.2"
features = ["std"]
default-features = false
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.4.2"
features = ["wasm_js"]
default-features = false
[lints.clippy]
expect_used = "deny"
panic = "deny"
unwrap_used = "deny"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"