http-cache-reqwest 1.0.0-alpha.4

http-cache middleware implementation for reqwest
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.88.0"
name = "http-cache-reqwest"
version = "1.0.0-alpha.4"
authors = [
    "Christian Haynes <06chaynes@gmail.com>",
    "Kat Marchán <kzm@zkat.tech>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "http-cache middleware implementation for reqwest"
homepage = "https://http-cache.rs"
readme = "README.md"
keywords = [
    "cache",
    "http",
    "middleware",
    "reqwest",
]
categories = [
    "caching",
    "web-programming::http-client",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/06chaynes/http-cache"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = [
    "manager-cacache",
    "url-standard",
]
http-headers-compat = ["http-cache/http-headers-compat"]
manager-cacache = ["http-cache/manager-cacache"]
manager-cacache-bincode = ["http-cache/manager-cacache-bincode"]
manager-foyer = ["http-cache/manager-foyer"]
manager-moka = ["http-cache/manager-moka"]
manager-moka-bincode = ["http-cache/manager-moka-bincode"]
rate-limiting = ["http-cache/rate-limiting"]
streaming = [
    "http-cache/streaming",
    "reqwest/stream",
    "futures-util",
]
url-ada = ["http-cache/url-ada"]
url-standard = ["http-cache/url-standard"]

[lib]
name = "http_cache_reqwest"
path = "src/lib.rs"

[[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 = "reqwest_streaming_memory_profile"
path = "examples/reqwest_streaming_memory_profile.rs"
required-features = ["streaming"]

[dependencies.anyhow]
version = "1.0.95"

[dependencies.async-trait]
version = "0.1.85"

[dependencies.bytes]
version = "1.8.0"

[dependencies.futures-util]
version = "0.3.31"
optional = true

[dependencies.http]
version = "1.2.0"

[dependencies.http-body]
version = "1.0.1"

[dependencies.http-body-util]
version = "0.1.2"

[dependencies.http-cache]
version = "1.0.0-alpha.4"
default-features = false

[dependencies.http-cache-semantics]
version = "2.1.0"

[dependencies.reqwest]
version = "0.13.1"
features = ["stream"]
default-features = false

[dependencies.reqwest-middleware]
version = "0.5.0"

[dependencies.url]
version = "2.5.4"
features = ["serde"]

[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]
version = "1.43.0"
features = [
    "macros",
    "rt-multi-thread",
]

[dev-dependencies.wiremock]
version = "0.6.0"