# Tower

> Modular, reusable middleware for Rust network clients and servers

Source: https://talira.ai/catalog/tower-mq1t5xah
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [frameworks / network applications](https://talira.ai/categories/frameworks/network-applications), [languages / rust](https://talira.ai/categories/languages/rust)
- Licence: MIT[^3]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Backed by: [Tower Contributors](https://talira.ai/orgs/tower-rs.md)

Tower is a Rust library of modular, reusable components for building robust networking clients and servers. Its core is the Service trait, an asynchronous function from a request to a response or an error, which models clients and servers alike; generic components such as timeouts, rate limiting and load balancing are services that wrap an inner service, and the Layer trait and ServiceBuilder compose this middleware in a protocol-agnostic way. On its own it isn't a network client or server: libraries that implement protocols such as HTTP depend on tower-service so users can add any Tower middleware. It's split into tower, tower-service and tower-layer (the stable core traits) and tower-test. Not to be confused with the Git client Tower.

## Links

- GitHub: https://github.com/tower-rs/tower
- Docs: https://docs.rs/tower

## Problems it solves

- add timeouts, rate limiting and load balancing to my Rust service's requests
- write middleware once and reuse it across my Rust clients and servers
- build a protocol-agnostic request/response pipeline in async Rust

## Features

- Service trait: an async function from request to response or error
- Layer trait and ServiceBuilder for composing middleware
- middleware for timeouts, rate limiting and load balancing
- tower-test crate for testing code that uses Tower

## Limitations

- Designed around a request/response pattern, so a protocol that's entirely stream based may not fit[^1]
- The tower crate isn't no_std compatible (tower-layer and tower-service are)[^1]

## Trust

Overall: 0.42 out of 1.
Signals: maintenance 0.27, adoption 0.73, momentum 0.48, community 0.82, backing 0.30, extensibility 0.00.

- latest release tower-0.5.3 10 months ago
- 4.4k GitHub stars
- 109 contributors
- backed by Tower Contributors

Warnings:

- last commit 5 months ago

## Sources

[^1]: https://github.com/tower-rs/tower#readme (checked 28 Nov 2026)
[^2]: https://github.com/tower-rs/tower/blob/master/tower/src/lib.rs (checked 28 Nov 2026)
[^3]: https://github.com/tower-rs/tower/blob/master/LICENSE (checked 28 Nov 2026)
