44 lines
1.2 KiB
TOML
44 lines
1.2 KiB
TOML
[package]
|
|
name = "cookie_store_wrapper"
|
|
edition = "2024"
|
|
version = "0.0.2"
|
|
publish = false
|
|
|
|
[package.metadata.cargo-udeps.ignore]
|
|
normal = ["workspace-build-acceleration"]
|
|
|
|
[lib]
|
|
name = "cookie_store_wrapper"
|
|
path = "src/lib.rs"
|
|
|
|
[features]
|
|
default = []
|
|
# Implements the wreq `CookieStore` trait on `SharedCookieStore` so a wreq
|
|
# client can read from and write Set-Cookie responses into a shared store.
|
|
wreq = ["dep:wreq"]
|
|
|
|
[dependencies]
|
|
# Workspace hack (faster compile times)
|
|
workspace-build-acceleration.workspace = true
|
|
|
|
# External
|
|
chrono.workspace = true
|
|
log.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
url.workspace = true
|
|
|
|
# NB: For converting cookie expiry timestamps; the `cookie` crate (via
|
|
# `cookie_store`) already depends on `time`, so this adds no new weight.
|
|
time = "0.3"
|
|
wreq = { workspace = true, optional = true }
|
|
|
|
# NB: The RFC 6265 cookie store implementation this crate wraps. `serde_json`
|
|
# enables cookie serialization; we skip `public_suffix` to keep dependencies
|
|
# minimal.
|
|
cookie_store = { version = "0.21.1", default-features = false, features = ["serde_json"] }
|
|
|
|
[dev-dependencies]
|
|
serde_derive.workspace = true
|
|
toml.workspace = true
|