Cargo Features

hpke-rs has no features set by default.

[dependencies]
hpke-rs = { version = "0.2.1-alpha.1", features = ["std", "serialization", "hazmat", "rustcrypto", "libcrux", "hpke-test", "hpke-test-prng"] }
std hpke-test? serialization?

Enables std of hpke-rs-crypto, hpke-rs-libcrux, hpke-rs-rust-crypto, and rand_core

serialization = serde, std, tls_codec

Enables serde of tls_codec

hazmat
rustcrypto

Enables hpke-rs-rust-crypto

libcrux

Enables hpke-rs-libcrux

hpke-test = std

Affects hpke-rs::test_util

hpke-test-prng

⚠️ Enable testing PRNG - DO NOT USE

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

serde serialization?
tls_codec serialization?