#cookies #cookie-jar #retrieval #jar #http

cookie_store

Implementation of Cookie storage and retrieval

26 releases (16 breaking)

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

#2 in #retrieval

Download history 159446/week @ 2025-01-05 179138/week @ 2025-01-12 157847/week @ 2025-01-19 170426/week @ 2025-01-26 182304/week @ 2025-02-02 182612/week @ 2025-02-09 164752/week @ 2025-02-16 185420/week @ 2025-02-23 196090/week @ 2025-03-02 211411/week @ 2025-03-09 204489/week @ 2025-03-16 182324/week @ 2025-03-23 175990/week @ 2025-03-30 180725/week @ 2025-04-06 167225/week @ 2025-04-13 173218/week @ 2025-04-20

706,524 downloads per month
Used in 1,398 crates (53 directly)

MIT/Apache

155KB
3.5K 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.5–5.5MB
~97K SLoC