[package] name = "tower-sombrero" version = "0.0.4" edition = "2021" description = "Tower middleware and utilities to help harden web applications" license = "MIT OR Apache-2.0" repository = "https://github.com/randomairborne/tower-sombrero" keywords = ["csp", "tower", "http", "security"] categories = ["web-programming::http-server"] [dependencies] async-trait = { version = "0", optional = true } axum-core = { version = "0.4", optional = true } tower-service = "0.3" futures-util = "0.3" tower-layer = "0.3" thiserror = "1" rand = "0.8" http = "1" [dev-dependencies] tokio = { version = "1", features = ["full"] } reqwest = "0.12" axum = "0.7" [features] default = [] axum = ["dep:axum-core", "dep:async-trait"]