cookie-monster 0.2.0

A Cookie library for managing HTTP Cookies, with Axum integration.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85"
name = "cookie-monster"
version = "0.2.0"
authors = ["Joey de Waal <dewaaljoey@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Cookie library for managing HTTP Cookies, with Axum integration."
documentation = "https://docs.rs/cookie-monster"
readme = "README.md"
keywords = [
    "cookie",
    "cookies",
    "axum",
    "http",
]
categories = ["web-programming"]
license = "MIT"
repository = "https://github.com/joeydewaal/cookie-monster"

[package.metadata.docs.rs]
features = [
    "percent-encode",
    "time",
    "chrono",
    "jiff",
    "http",
    "axum",
]

[features]
axum = [
    "dep:axum-core",
    "http",
]
chrono = ["dep:chrono"]
http = [
    "dep:http",
    "percent-encode",
]
jiff = ["dep:jiff"]
percent-encode = ["dep:percent-encoding"]
time = ["dep:time"]

[lib]
name = "cookie_monster"
path = "src/lib.rs"

[[test]]
name = "jar"
path = "tests/jar.rs"

[[test]]
name = "parse"
path = "tests/parse/tests.rs"

[[test]]
name = "serialize"
path = "tests/serialize/tests.rs"

[dependencies.axum-core]
version = "0.5"
optional = true

[dependencies.chrono]
version = "0.4"
features = [
    "std",
    "now",
]
optional = true
default-features = false

[dependencies.http]
version = "1"
optional = true

[dependencies.jiff]
version = "0.2"
features = ["std"]
optional = true
default-features = false

[dependencies.percent-encoding]
version = "2.3.1"
optional = true

[dependencies.time]
version = "0.3"
features = [
    "std",
    "parsing",
    "formatting",
    "macros",
]
optional = true
default-features = false

[dev-dependencies.axum]
version = "0.8.6"

[dev-dependencies.jiff]
version = "0.2.15"