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

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

#17 in Web programming

Download history 605537/week @ 2024-09-19 660379/week @ 2024-09-26 655646/week @ 2024-10-03 638535/week @ 2024-10-10 716655/week @ 2024-10-17 714262/week @ 2024-10-24 665364/week @ 2024-10-31 691982/week @ 2024-11-07 806715/week @ 2024-11-14 651725/week @ 2024-11-21 606688/week @ 2024-11-28 727418/week @ 2024-12-05 746936/week @ 2024-12-12 407959/week @ 2024-12-19 258296/week @ 2024-12-26 469828/week @ 2025-01-02

2,037,694 downloads per month
Used in 3,065 crates (237 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.2MB
~20K SLoC