#cookie-jar #cookies #http-parser #management #encryption #signed #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

#19 in Web programming

Download history 539554/week @ 2024-06-08 513169/week @ 2024-06-15 538085/week @ 2024-06-22 471453/week @ 2024-06-29 494266/week @ 2024-07-06 505908/week @ 2024-07-13 532617/week @ 2024-07-20 519029/week @ 2024-07-27 521250/week @ 2024-08-03 577604/week @ 2024-08-10 581808/week @ 2024-08-17 597877/week @ 2024-08-24 562066/week @ 2024-08-31 607157/week @ 2024-09-07 567553/week @ 2024-09-14 544779/week @ 2024-09-21

2,387,007 downloads per month
Used in 2,878 crates (220 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