[package]
edition = "2021"
rust-version = "1.80"
name = "actix_tower"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Modern extensions for Actix Web — Tower compatibility, ergonomic extractors, and production-ready middleware."
readme = "README.md"
keywords = [
"actix",
"actix-web",
"tower",
"middleware",
"web",
]
categories = ["web-programming::http-server"]
license = "Apache-2.0"
repository = "https://github.com/actix-tower/actix-tower"
[features]
default = [
"tower",
"extract",
"middleware",
"macros",
"utils",
]
extract = []
full = [
"tower",
"extract",
"middleware",
"macros",
"utils",
]
macros = []
middleware = ["dep:flate2"]
tower = []
utils = []
[lib]
name = "actix_tower"
path = "src/lib.rs"
[[bin]]
name = "actix_tower"
path = "src/main.rs"
[[example]]
name = "auth"
path = "examples/auth.rs"
[[example]]
name = "basic"
path = "examples/basic.rs"
[[example]]
name = "extractor"
path = "examples/extractor.rs"
[[example]]
name = "tower"
path = "examples/tower.rs"
[[example]]
name = "tracing"
path = "examples/tracing.rs"
[[example]]
name = "validation"
path = "examples/validation.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "test_cache_oom"
path = "tests/test_cache_oom.rs"
[[test]]
name = "test_cache_poisoning_isolation"
path = "tests/test_cache_poisoning_isolation.rs"
[[test]]
name = "test_rate_limit_bypass"
path = "tests/test_rate_limit_bypass.rs"
[[test]]
name = "test_tower_backpressure"
path = "tests/test_tower_backpressure.rs"
[[bench]]
name = "middleware_bench"
path = "benches/middleware_bench.rs"
harness = false
[dependencies.actix-http]
version = "3"
[dependencies.actix-multipart]
version = "0.7"
[dependencies.actix-service]
version = "2"
[dependencies.actix-utils]
version = "3"
[dependencies.actix-web]
version = "4"
[dependencies.bytes]
version = "1"
[dependencies.flate2]
version = "1.0"
optional = true
[dependencies.futures-util]
version = "0.3"
[dependencies.http]
version = "1"
[dependencies.http-body]
version = "1"
[dependencies.http-body-util]
version = "0.1"
[dependencies.indexmap]
version = "2"
[dependencies.once_cell]
version = "1"
[dependencies.parking_lot]
version = "0.12"
[dependencies.pin-project-lite]
version = "0.2"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.serde_urlencoded]
version = "0.7"
[dependencies.thiserror]
version = "1"
[dependencies.tokio]
version = "1"
features = [
"sync",
"time",
"rt",
]
[dependencies.tower]
version = "0.5"
[dependencies.tower-layer]
version = "0.3"
[dependencies.tower-service]
version = "0.3"
[dependencies.tracing]
version = "0.1"
[dependencies.uuid]
version = "1"
features = ["v4"]
[dev-dependencies.actix-rt]
version = "2"
[dev-dependencies.criterion]
version = "0.5"
features = ["async_tokio"]
[dev-dependencies.tokio]
version = "1"
features = ["full"]
[dev-dependencies.tower]
version = "0.5"
features = [
"limit",
"util",
]
[dev-dependencies.tower-http]
version = "0.6"
features = [
"trace",
"compression-gzip",
"timeout",
"auth",
]
[dev-dependencies.tracing-subscriber]
version = "0.3"