#cookie-jar #cookies #http-parser #encryption #management #signed #authenticated

cookie

HTTP cookie parsing and cookie jar management. Supports signed and private (encrypted, authenticated) jars.

77 releases

0.18.1 Mar 25, 2024
0.18.0 Oct 9, 2023
0.18.0-rc.0 Sep 27, 2023
0.17.0 Jan 23, 2023
0.0.1 Nov 22, 2014

#1 in #management

Download history 158838/week @ 2023-12-23 254599/week @ 2023-12-30 322312/week @ 2024-01-06 328845/week @ 2024-01-13 352531/week @ 2024-01-20 344616/week @ 2024-01-27 338022/week @ 2024-02-03 361539/week @ 2024-02-10 345731/week @ 2024-02-17 392218/week @ 2024-02-24 397585/week @ 2024-03-02 391230/week @ 2024-03-09 391820/week @ 2024-03-16 397487/week @ 2024-03-23 429341/week @ 2024-03-30 316656/week @ 2024-04-06

1,596,624 downloads per month
Used in 2,650 crates (192 directly)

MIT/Apache

185KB
2K SLoC

Cookie

CI Status Current Crates.io Version Documentation

A Rust library for parsing HTTP cookies and managing cookie jars.

Usage

Add the following to your Cargo.toml:

[dependencies]
cookie = "0.18"

See the documentation for detailed usage information.

Minimum Supported Rust Version (MSRV)

Version Range MSRV
cookie == 0.18 rustc 1.56
0.16 <= cookie <= 0.17 rustc 1.53
cookie <= 0.15 rustc 1.41

License

This project is licensed under your option of either of the following:

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in cookie by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~0.7–1.1MB
~19K SLoC