#cookie #jar #store #http

cookie_store

Implementation of Cookie storage and retrieval

16 releases (10 breaking)

new 0.15.1 Nov 27, 2021
0.15.0 May 12, 2021
0.14.1 May 12, 2021
0.13.3 Mar 12, 2021
0.5.1 Feb 22, 2019

#82 in Web programming

Download history 41874/week @ 2021-08-11 37556/week @ 2021-08-18 39387/week @ 2021-08-25 37277/week @ 2021-09-01 50387/week @ 2021-09-08 51434/week @ 2021-09-15 58330/week @ 2021-09-22 47226/week @ 2021-09-29 40930/week @ 2021-10-06 42889/week @ 2021-10-13 43663/week @ 2021-10-20 43046/week @ 2021-10-27 40675/week @ 2021-11-03 43454/week @ 2021-11-10 47276/week @ 2021-11-17 29175/week @ 2021-11-24

167,950 downloads per month
Used in 869 crates (19 directly)

MIT/Apache

125KB
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.
  • REMOVED reqwest_impl - the CookieStoreMutex and CookieStoreRwLock implementations previously provided under this feature are now provided in an independent crate, reqwest_cookie_store

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.5–5MB
~120K SLoC