hitbox-reqwest 0.2.0

Hitbox cache integration for reqwest HTTP client via reqwest-middleware
Documentation
# 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 = "2024"
rust-version = "1.91.1"
name = "hitbox-reqwest"
version = "0.2.0"
authors = ["Hitbox team <mail@hitbox.rs>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Hitbox cache integration for reqwest HTTP client via reqwest-middleware"
readme = "README.md"
keywords = [
    "cache",
    "reqwest",
    "async",
    "http",
    "hitbox",
]
categories = [
    "caching",
    "asynchronous",
    "network-programming",
    "web-programming",
]
license = "MIT"
repository = "https://github.com/hit-box/hitbox/"
resolver = "2"

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

[features]
default = ["docs"]
docs = [
    "dep:hitbox-moka",
    "dep:hitbox-redis",
    "dep:hitbox-feoxdb",
]

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

[[test]]
name = "cache_middleware_tests"
path = "tests/cache_middleware_tests.rs"

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

[dependencies.bytes]
version = "1"
features = ["serde"]

[dependencies.hitbox]
version = "0.2"

[dependencies.hitbox-backend]
version = "0.2"

[dependencies.hitbox-core]
version = "0.2"

[dependencies.hitbox-feoxdb]
version = "0.2"
optional = true

[dependencies.hitbox-http]
version = "0.2"

[dependencies.hitbox-moka]
version = "0.2"
optional = true

[dependencies.hitbox-redis]
version = "0.2"
optional = true

[dependencies.http]
version = "1.3"

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

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

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

[dependencies.tracing]
version = "0.1"
default-features = false

[dev-dependencies.hitbox-moka]
version = "0.2"

[dev-dependencies.serde_json]
version = "1"
features = ["preserve_order"]

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
]
default-features = false

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