[dependencies.async-trait]
version = "0.1.72"
[dependencies.bincode]
optional = true
version = "1.3.3"
[dependencies.cacache]
default-features = false
features = ["mmap"]
optional = true
version = "13.0.0"
[dependencies.http]
version = "1.1.0"
[dependencies.http-cache-semantics]
version = "2.1.0"
[dependencies.http-types]
default-features = false
optional = true
version = "2.12.0"
[dependencies.httpdate]
version = "1.0.2"
[dependencies.moka]
features = ["future"]
optional = true
version = "0.12.0"
[dependencies.serde]
features = ["derive"]
version = "1.0.178"
[dependencies.url]
features = ["serde"]
version = "2.4.0"
[dev-dependencies.async-attributes]
version = "1.1.2"
[dev-dependencies.async-std]
version = "1.12.0"
[dev-dependencies.http-cache-semantics]
version = "2.1.0"
[dev-dependencies.tokio]
features = ["macros", "rt", "rt-multi-thread"]
version = "1.29.1"
[features]
cacache-async-std = ["cacache/async-std"]
cacache-tokio = ["cacache/tokio-runtime"]
default = ["manager-cacache", "cacache-async-std"]
manager-cacache = ["cacache", "bincode"]
manager-moka = ["moka", "bincode"]
with-http-types = ["http-types"]
[lib]
name = "http_cache"
path = "src/lib.rs"
[package]
authors = ["Christian Haynes <06chaynes@gmail.com>", "Kat Marchán <kzm@zkat.tech>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["caching", "web-programming::http-client"]
description = "An HTTP caching middleware"
edition = "2021"
homepage = "https://http-cache.rs"
keywords = ["cache", "http", "middleware"]
license = "MIT OR Apache-2.0"
name = "http-cache"
readme = "README.md"
repository = "https://github.com/06chaynes/http-cache"
rust-version = "1.67.1"
version = "0.20.0"
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]