Crate features / tower
Feature flags · tower 0.5.3 · from crates.io 2026-10-24
tower features: what each one does, and the line to copy
Short answertower 0.5.3 has 19 features. Nothing is on by default: turn on what you use. It needs Rust 1.64.0 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
balance | discover, load, ready-cache, make, slab, util | |
buffer | tokio/sync, tokio/rt, tokio-util, tracing, pin-project-lite | |
discover | futures-core, pin-project-lite | |
filter | futures-util, pin-project-lite | |
full | balance, buffer, discover, filter, hedge, limit, load, load-shed, make, ready-cache, reconnect, retry, spawn-ready, steer, timeout, util | |
hedge | util, filter, futures-util, hdrhistogram, tokio/time, tracing | |
limit | tokio/time, tokio/sync, tokio-util, tracing, pin-project-lite | |
load | tokio/time, tracing, pin-project-lite | |
load-shed | pin-project-lite | |
log | tracing/log | |
make | pin-project-lite, tokio | |
ready-cache | futures-core, futures-util, indexmap, tokio/sync, tracing, pin-project-lite | |
reconnect | make, tracing | |
retry | tokio/time, util | |
spawn-ready | futures-util, tokio/sync, tokio/rt, util, tracing | |
steer | nothing else (a switch the code checks) | |
timeout | pin-project-lite, tokio/time | |
tokio-stream | nothing else (a switch the code checks) | |
util | futures-core, futures-util, pin-project-lite, sync_wrapper |
dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).
MSRV history
The minimum Rust version tower declares (rust-version), and the release that changed it:
- 0.4.12 (2022-02-16): Rust 1.49.0
- 0.5.0 (2024-08-13): Rust 1.64.0
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p tower --precise <version>, or use resolver 3, which picks compatible versions for you.
More on tower
Real downloads, dependents and alternatives: tower crate data (2.3M real downloads a day, 5,816 dependents).
docs.rs feature list · crates.io · license MIT · edition 2018
Up next
Before you depend on ittower crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?