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

#11 in Web programming

Download history 684556/week @ 2024-12-01 771293/week @ 2024-12-08 692720/week @ 2024-12-15 272640/week @ 2024-12-22 338763/week @ 2024-12-29 710777/week @ 2025-01-05 780802/week @ 2025-01-12 706450/week @ 2025-01-19 727046/week @ 2025-01-26 811618/week @ 2025-02-02 808714/week @ 2025-02-09 742110/week @ 2025-02-16 878778/week @ 2025-02-23 858339/week @ 2025-03-02 927064/week @ 2025-03-09 866656/week @ 2025-03-16

3,578,788 downloads per month
Used in 3,294 crates (243 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.3MB
~22K SLoC