cookie-monster

Crates.iocookie-monster
lib.rscookie-monster
version0.1.0
created_at2025-10-13 20:33:58.311514+00
updated_at2025-11-08 20:00:04.957901+00
descriptionA Cookie library for managing HTTP Cookies, with Axum integration.
homepage
repositoryhttps://github.com/joeydewaal/cookie-monster
max_upload_size
id1881107
size93,764
Joey de Waal (joeydewaal)

documentation

https://docs.rs/cookie-monster

README

cookie-monster

CI/CD Current Crates.io Version Documentation

A Cookie library for parsing and managing HTTP Cookies.

Features

  • jiff, adds support for the jiff crate.

  • chrono, adds support for the chrono crate.

  • time, adds support for the time crate.

  • percent-encode, percent-encode/decode cookies.

  • axum, adds integration with the axum crate.

  • http, adds integration with the http crate.

Install

# Cargo.toml
[dependencies]
cookie-monster = "0.1"

# Integration with the `time` crate
cookie-monster = { version = "0.1", features = ["time"] }
# Integration with the`chrono` crate
cookie-monster = { version = "0.1", features = ["chrono"] }
# Integration with the `jiff` crate
cookie-monster = { version = "0.1", features = ["jiff"] }

# Adds support for percent-encoding/decoding cookies.
cookie-monster = { version = "0.1", features = ["percent-encoding"] }

# Integration with the `axum` crate.
cookie-monster = { version = "0.1", features = ["axum"] }

# Integration with the `http` crate.
cookie-monster = { version = "0.1", features = ["http"] }

Minimum Supported Rust Version (MSRV)

The cookie-monster crate has rust version 1.85 as MSRV.

Honorable mention

This crate takes a lot of inspiration from the cookie crate.

License

This project is licensed under the MIT license.

Commit count: 0

cargo fmt