#cookie #jar #store #http

cookie_store

Implementation of Cookie storage and retrieval

24 releases (15 breaking)

0.20.0 Jun 17, 2023
0.19.0 Nov 5, 2022
0.16.2 Jun 17, 2023
0.16.1 May 27, 2022
0.5.1 Feb 22, 2019

#278 in Web programming

Download history 72138/week @ 2023-08-10 76370/week @ 2023-08-17 75564/week @ 2023-08-24 65040/week @ 2023-08-31 73394/week @ 2023-09-07 74924/week @ 2023-09-14 67016/week @ 2023-09-21 63706/week @ 2023-09-28 73504/week @ 2023-10-05 71952/week @ 2023-10-12 77889/week @ 2023-10-19 76611/week @ 2023-10-26 75087/week @ 2023-11-02 78743/week @ 2023-11-09 86500/week @ 2023-11-16 52996/week @ 2023-11-23

305,113 downloads per month
Used in 1,109 crates (33 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
~115K SLoC