1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//! An implementation of an HTTP response cache that uses
//! `http-cache-semantics`.
//!
//! Inspired by the `http-cache` crate.
//!
//! This crate's implementation differs significantly from `http-cache` in the
//! following ways:
//!
//! * Response bodies are not fully read into memory.
//! * Response bodies may be linked directly from cache storage.
//! * Uses its own lightweight storage implementation (instead of `cacache`), by
//! default.
//! * This library is not nearly as customizable as `http-cache`.
//!
//! By default, this crate uses `tokio` as its async runtime.
//!
//! Enable the `smol` feature for using the `smol` runtime instead.
pub
pub use *;
pub use *;
// Re-export the http crate.
pub use http;
// Re-export the http-body crate.
pub use http_body;
// Re-export the semantics crate
pub use http_cache_semantics as semantics;