Cargo Features

[dependencies]
hpke-dispatch = { version = "0.7.0", default-features = false, features = ["cfg_eval", "base-mode-open", "base-mode-seal", "serde", "algo-all", "aead-all", "aead-aes-gcm-256", "aead-chacha-20-poly-1305", "kdf-all", "kdf-sha512", "kem-all", "kem-dh-p256-hkdf-sha256", "kem-dh-p384-hkdf-sha384", "kem-dh-p521-hkdf-sha512", "kem-x25519-hkdf-sha256"] }
default = algo-all, base-mode-open, base-mode-seal

These default features are set whenever hpke-dispatch is added without default-features = false somewhere in the dependency tree.

cfg_eval
base-mode-open default

Affects base_mode_open::base_mode_open

base-mode-seal default

Affects base_mode_seal::base_mode_seal

serde = serde_crate
algo-all default = aead-all, kdf-all, kem-all
aead-all algo-all = aead-aes-gcm-128, aead-aes-gcm-256, aead-chacha-20-poly-1305
aead-aes-gcm-128 aead-aes-gcm-256 aead-all?
aead-chacha-20-poly-1305 aead-all?
kdf-all algo-all = kdf-sha256, kdf-sha384, kdf-sha512
kdf-sha256 kdf-sha384 kdf-sha512 kdf-all?
kem-all algo-all = kem-dh-p256-hkdf-sha256, kem-dh-p384-hkdf-sha384, kem-dh-p521-hkdf-sha512, kem-x25519-hkdf-sha256
kem-dh-p256-hkdf-sha256 kem-all?

Enables p256 of hpke

kem-dh-p384-hkdf-sha384 kem-all?

Enables p384 of hpke

kem-dh-p521-hkdf-sha512 kem-all?

Enables p521 of hpke

kem-x25519-hkdf-sha256 kem-all?

Enables x25519 of hpke

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_crate serde?

Enables serde