[dependencies.anyhow]
version = "1.0.95"
[dependencies.async-trait]
version = "0.1.85"
[dependencies.bytes]
version = "1.8.0"
[dependencies.futures-util]
optional = true
version = "0.3.31"
[dependencies.http]
version = "1.2.0"
[dependencies.http-body]
version = "1.0.1"
[dependencies.http-body-util]
version = "0.1.2"
[dependencies.http-cache]
default-features = false
version = "1.0.0-alpha.3"
[dependencies.http-cache-semantics]
version = "2.1.0"
[dependencies.reqwest]
default-features = false
features = ["stream"]
version = "0.13.1"
[dependencies.reqwest-middleware]
version = "0.5.0"
[dependencies.url]
features = ["serde"]
version = "2.5.4"
[dev-dependencies.bytes]
version = "1.8.0"
[dev-dependencies.futures]
version = "0.3.31"
[dev-dependencies.futures-util]
version = "0.3.31"
[dev-dependencies.http-body]
version = "1.0.1"
[dev-dependencies.http-body-util]
version = "0.1.2"
[dev-dependencies.tempfile]
version = "3.13.0"
[dev-dependencies.tokio]
features = ["macros", "rt-multi-thread"]
version = "1.43.0"
[dev-dependencies.wiremock]
version = "0.6.0"
[[example]]
name = "reqwest_basic"
path = "examples/reqwest_basic.rs"
required-features = ["manager-cacache"]
[[example]]
name = "reqwest_streaming"
path = "examples/reqwest_streaming.rs"
required-features = ["streaming"]
[[example]]
name = "streaming_memory_profile"
path = "examples/streaming_memory_profile.rs"
required-features = ["streaming"]
[features]
default = ["manager-cacache"]
manager-cacache = ["http-cache/manager-cacache", "http-cache/cacache-tokio"]
manager-moka = ["http-cache/manager-moka"]
rate-limiting = ["http-cache/rate-limiting"]
streaming = ["http-cache/streaming-tokio", "reqwest/stream", "futures-util"]
[lib]
name = "http_cache_reqwest"
path = "src/lib.rs"
[package]
authors = ["Christian Haynes <06chaynes@gmail.com>", "Kat Marchán <kzm@zkat.tech>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["caching", "web-programming::http-client"]
description = "http-cache middleware implementation for reqwest"
edition = "2021"
homepage = "https://http-cache.rs"
keywords = ["cache", "http", "middleware", "reqwest"]
license = "MIT OR Apache-2.0"
name = "http-cache-reqwest"
readme = "README.md"
repository = "https://github.com/06chaynes/http-cache"
rust-version = "1.85.0"
version = "1.0.0-alpha.3"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]