https://github.com/rwf2/cookie-rs
HTTP cookie parsing and cookie jar management for Rust.
https://github.com/rwf2/cookie-rs
Last synced: 6 months ago
JSON representation
HTTP cookie parsing and cookie jar management for Rust.
- Host: GitHub
- URL: https://github.com/rwf2/cookie-rs
- Owner: rwf2
- License: apache-2.0
- Created: 2014-06-30T15:35:35.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2024-04-09T23:44:51.000Z (about 2 years ago)
- Last Synced: 2026-01-13T21:10:45.022Z (6 months ago)
- Language: Rust
- Homepage: https://docs.rs/cookie
- Size: 404 KB
- Stars: 335
- Watchers: 4
- Forks: 133
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# Cookie
[](https://github.com/SergioBenitez/cookie-rs/actions)
[](https://crates.io/crates/cookie)
[](https://docs.rs/cookie)
A Rust library for parsing HTTP cookies and managing cookie jars.
# Usage
Add the following to your `Cargo.toml`:
```toml
[dependencies]
cookie = "0.18"
```
See the [documentation](http://docs.rs/cookie) for detailed usage information.
# Minimum Supported Rust Version (MSRV)
| Version Range | MSRV |
|----------------------------------|--------------|
| `cookie` `==` `0.18` | `rustc 1.56` |
| `0.16` `<=` `cookie` `<=` `0.17` | `rustc 1.53` |
| `cookie` `<=` `0.15` | `rustc 1.41` |
# License
This project is licensed under your option of either of the following:
* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
http://www.apache.org/licenses/LICENSE-2.0)
* MIT license ([LICENSE-MIT](LICENSE-MIT) or
http://opensource.org/licenses/MIT)
### Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in `cookie` by you, as defined in the Apache-2.0 license, shall be
dual licensed as above, without any additional terms or conditions.