Cargo Features

[dependencies]
simple-cookie = { version = "2.0.2", default-features = false, features = ["std", "rand"] }
default = rand, std

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

std default

Affects simple-cookie::decode_cookie, simple-cookie::encode_cookie

rand default

With std and std_rng

Affects simple-cookie::generate_signing_key, simple-cookie::generate_nonce, simple-cookie::encode_cookie