Cargo Features

cookie2 has no features set by default.

[dependencies]
cookie2 = { version = "0.12.0", features = ["secure", "percent-encode"] }
secure = base64, ring
percent-encode = url

Affects cookie2::EncodedCookie

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.

url percent-encode?

Enables url ^1.0

ring secure?

Enables ring ^0.14.0

base64 secure?

Enables base64 ^0.10.0