Cargo Features
[dependencies]
cookie_store = { version = "0.21.1", default-features = false, features = ["preserve_order", "public_suffix", "wasm-bindgen", "log_secure_cookie_values", "serde", "serde_json", "serde_ron"] }
- default = public_suffix, serde_json
-
These default features are set whenever
cookie_store
is added without
somewhere in the dependency tree.default-features = false - preserve_order
-
uses
indexmap::IndexMap
in lieu of HashMap internally, so cookies are maintained in insertion/creation orderEnables indexmap
- public_suffix default
-
Add support for public suffix lists, as provided by publicsuffix.
Enables publicsuffix
- wasm-bindgen
-
Enables transitive feature
time/wasm-bindgen
; necessary inwasm
contexts.Enables wasm-bindgen of time
-
Enable logging the values of cookies marked 'secure', off by default as values may be sensitive
- serde serde_json serde_ron?
-
Serialization
Supports generic (format-agnostic) de/serialization for a
CookieStore
. Adds dependenciesserde
andserde_derive
.Enables serde and serde_derive
serde:
serialization dependencies
Affects
cookie_store::serde
… - serde_json default = serde
-
Supports de/serialization for a
CookieStore
via the JSON format. Enables featureserde
and adds depenencyserde_json
.Enables serde_json
Affects
serde::json
… - serde_ron = serde
-
Supports de/serialization for a
CookieStore
via the RON format. Enables featureserde
and adds depenencyron
.Enables ron
Affects
serde::ron
…