#cookie #jar #store #http

cookie_store

Implementation of Cookie storage and retrieval

21 releases (breaking)

0.19.0 Nov 5, 2022
0.17.0 Aug 30, 2022
0.16.1 May 27, 2022
0.16.0 Mar 21, 2022
0.5.1 Feb 22, 2019

#119 in Web programming

Download history 50151/week @ 2022-11-30 46367/week @ 2022-12-07 42790/week @ 2022-12-14 32516/week @ 2022-12-21 28873/week @ 2022-12-28 43387/week @ 2023-01-04 44802/week @ 2023-01-11 53997/week @ 2023-01-18 56069/week @ 2023-01-25 54078/week @ 2023-02-01 51517/week @ 2023-02-08 50591/week @ 2023-02-15 63213/week @ 2023-02-22 56547/week @ 2023-03-01 56307/week @ 2023-03-08 47819/week @ 2023-03-15

234,151 downloads per month
Used in 1,018 crates (29 directly)

MIT/Apache

130KB
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
~119K SLoC