17 releases (7 breaking)
Uses new Rust 2021
|0.7.0||Jun 17, 2022|
|0.6.1||Mar 29, 2022|
|0.0.0||Sep 1, 2018|
#14 in Caching
1,314 downloads per month
Used in 4 crates (2 directly)
Likely you won't! At least not directly. Unless you are looking to implement a custom backend cache manager or client middleware you'll probably want to pull in one of the existing client implementations instead. See the Provided Client Implementations section below.
With cargo add installed :
cargo add http-cache
The following features are available. By default
manager-cacache is enabled.
manager-cacache(default): enable cacache, a high-performance disk cache, backend manager.
manager-moka(disabled): enable moka, a high-performance in-memory cache, backend manager.
with-http-types(disabled): enable http-types type conversion support
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.