[package]
name = "axum-response-cache"
description = "Axum layer for caching HTTP responses of the wrapped server"
keywords = ["axum", "middleware", "caching", "http"]
categories = ["web-programming::http-server", "caching"]
repository = "https://github.com/omniscopy/axum-response-cache"
readme = "README.md"
version = "0.5.0"
edition = "2021"
authors = ["Omniscopy Dev Team <dev@omniscopy.com>", "Benedykt Jaworski <benedykt.jaworski@omniscopy.com>"]
license = "MIT"

[dependencies]
axum_07 = { package = "axum", version = "^0.7", default-features = false, optional = true}
axum_08 = { package = "axum", version = "^0.8", default-features = false, optional = true}
cached = "1.1"
http = "1.2.0"
tower = "0.5.2"
tracing = "0.1.41"
tracing-futures = "0.2.5"

[dev-dependencies]
axum_07 = { package = "axum", version = "^0.7", features = ["tokio"]}
axum_08 = { package = "axum", version = "^0.8", features = ["tokio"]}
rand = "0.10"
tokio = { version = "1.42.0", features = ["full"] }
tower = { version = "0.5.1", features = ["util"] }

[features]
default = ["axum08"]
axum07 = ["dep:axum_07"]
axum08 = ["dep:axum_08"]
