tower-http-cache-plus 0.0.1

HTTP response caching middleware with integrated compression
# 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.94"
name = "tower-http-cache-plus"
version = "0.0.1"
authors = ["Tal Liron"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTTP response caching middleware with integrated compression"
documentation = "https://docs.rs/tower_http_cache_plus"
readme = "README.md"
keywords = [
    "http",
    "tower",
    "cache",
    "moka",
]
categories = [
    "caching",
    "web-programming::http-server",
]
license = "MIT OR Apache-2.0"
repository = "https://codeberg.org/tliron/tower-http-cache-plus"

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

[features]
axum = ["dep:axum"]
moka = ["dep:moka"]

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

[[example]]
name = "advanced"
path = "examples/advanced.rs"
required-features = [
    "axum",
    "moka",
]

[[example]]
name = "basic"
path = "examples/basic.rs"
required-features = [
    "axum",
    "moka",
]

[dependencies.axum]
version = "0.8.8"
optional = true

[dependencies.duration-str]
version = "0.21.0"

[dependencies.http]
version = "1.4.0"

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

[dependencies.kutil]
version = "=0.0.5"
features = [
    "std",
    "http",
    "immutable",
]

[dependencies.moka]
version = "0.12.14"
features = ["future"]
optional = true

[dependencies.tower]
version = "0.5.3"

[dependencies.tracing]
version = "0.1.44"

[dev-dependencies.tokio]
version = "1.50.0"
features = ["rt-multi-thread"]

[dev-dependencies.tower-http]
version = "0.6.8"
features = ["trace"]

[dev-dependencies.tracing-subscriber]
version = "0.3.22"
features = [
    "env-filter",
    "local-time",
    "parking_lot",
]