[dependencies.bytes]
version = "1.11.0"
[dependencies.http]
version = "1.4.0"
[dependencies.http-body-util]
version = "0.1.3"
[dependencies.minify-html]
optional = true
version = "0.18.1"
[dependencies.minify-html-onepass]
optional = true
version = "0.18.1"
[dependencies.tower]
version = "0.5.2"
[dependencies.tracing]
version = "0.1.44"
[dev-dependencies.axum]
version = "0.8"
[dev-dependencies.tokio]
features = ["full"]
version = "1"
[dev-dependencies.tower-http]
features = ["compression-br"]
version = "0.6"
[[example]]
name = "axum"
path = "examples/axum.rs"
[features]
default = ["standard"]
onepass = ["dep:minify-html-onepass"]
standard = ["dep:minify-html"]
[lib]
name = "tower_minify_html"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["web-programming", "web-programming::http-server"]
description = "A Tower layer for minifying HTML responses using minify-html"
edition = "2024"
keywords = ["axum", "html", "middleware", "minify", "tower"]
license = "MIT OR Apache-2.0"
name = "tower-minify-html"
readme = "README.md"
repository = "https://github.com/avsaase/tower-minify-html"
version = "0.2.0"