Announcing actix_tower: Bridge Tower Middleware into Actix Web
โ Rust ๐ 2026-07-04 ๐ค surdeus ๐๏ธ 3Hello fellow Rustaceans!
I'm excited to announce actix_tower, a crate designed to eliminate the vendor lock-in between Actix Web and the Tower ecosystem.
One of the biggest pain points when choosing Actix Web is losing access to the massive library of pre-built Tower middleware. Because of the architectural differences between Actix's worker model and Tower's concurrency model, bridging them is notoriously difficult.
actix_tower solves this by introducing a specialized compatibility layer. You can now take something like tower_http::timeout::TimeoutLayer and plug it straight into Actix.
use tower_http::timeout::TimeoutLayer;
use actix_tower::prelude::*;
App::new()
.wrap(TowerLayerCompat::new(TimeoutLayer::new(Duration::from_secs(5))))
// ...
The crate is heavily tested against concurrency deadlocks and memory exhaustion vulnerabilities.
I'd love to hear feedback from the community! Repository: GitHub - rstosp/actix_tower ยท GitHub
1 post - 1 participant
๐ท๏ธ Rust_feed