#cookie-jar #cookies #http #store #jar #http-request

cookie_store

Implementation of Cookie storage and retrieval

25 releases (16 breaking)

0.21.0 Feb 8, 2024
0.20.0 Jun 17, 2023
0.19.1 Jun 17, 2023
0.19.0 Nov 5, 2022
0.5.1 Feb 22, 2019

#160 in Web programming

Download history 70868/week @ 2023-12-06 68090/week @ 2023-12-13 45407/week @ 2023-12-20 39634/week @ 2023-12-27 65730/week @ 2024-01-03 65072/week @ 2024-01-10 78042/week @ 2024-01-17 70657/week @ 2024-01-24 72975/week @ 2024-01-31 69757/week @ 2024-02-07 79153/week @ 2024-02-14 86803/week @ 2024-02-21 89104/week @ 2024-02-28 91579/week @ 2024-03-06 84065/week @ 2024-03-13 71436/week @ 2024-03-20

352,453 downloads per month
Used in 1,171 crates (37 directly)

MIT/Apache

135KB
3K SLoC

Build Status Documentation

Provides an implementation for storing and retrieving Cookies per the path and domain matching rules specified in RFC6265.

Features

  • preserve_order - if enabled, iteration order of cookies will be maintained in insertion order. Pulls in an additional dependency on the indexmap crate.

Usage with reqwest

Please refer to the reqwest_cookie_store crate, which now provides an implementation of the reqwest::cookie::CookieStore trait for cookie_store::CookieStore.

License

This project is licensed and distributed under the terms of both the MIT license and Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT

Dependencies

~3–4.5MB
~114K SLoC