Cargo Features

Cookie has no features set by default.

cookie = { version = "0.18.0", features = ["percent-encode", "secure", "private", "signed", "key-expansion"] }
percent-encode = percent-encoding
secure = key-expansion, private, signed
private secure? = aes-gcm, base64, rand, subtle
signed secure? = base64, hmac, rand, sha2, subtle
key-expansion secure? = hkdf, sha2

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

percent-encoding percent-encode?
aes-gcm private?

Enables aes-gcm

dependencies for secure (private/signed) functionality

hmac signed?
sha2 key-expansion? signed?
base64 private? signed?
rand private? signed?
hkdf key-expansion?
subtle private? signed?