Cargo Features

hpke-rs has no features set by default.

hpke-rs = { version = "0.2.0", features = ["std", "serialization", "hazmat", "hpke-test", "hpke-test-prng"] }
std hpke-test? serialization?
serialization = serde, std, tls_codec

Enables serde of tls_codec

hpke-test = std

Affects hpke-rs::test_util


⚠️ 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?