Decision Workspace
leaky-bucket vs stream_throttle vs ntex
Side-by-side comparison of Rust crates
62
leaky-bucket
growingv1.1.2
A token-based rate limiter based on the leaky bucket algorithm.
52
stream_throttle
growingv0.5.1
Provides a Stream combinator, to limit the rate at which items are produced.
80
ntex
stablev4.1.0
Framework for composable network services
Core Metrics
| leaky-bucket | stream_throttle | ntex | |
|---|---|---|---|
| Health Score | 62 | 52 | 80 |
| Total Downloads | 2.8M | 2.3M | 1.1M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 933 | 114 | 2.4K |
| Releases | 30 | 6 | 271 |
| Last Updated | 870d ago | 1130d ago | 1d ago |
| Age | 7y 1m | 8y 4m | 6y 7m |
Health Breakdown
leaky-bucket
Maintenance
6
Quality
20
Community
14
Popularity
8
Documentation
14
stream_throttle
Maintenance
4
Quality
16
Community
11
Popularity
8
Documentation
13
ntex
Maintenance
19
Quality
19
Community
20
Popularity
7
Documentation
15
Technical Details
| leaky-bucket | stream_throttle | ntex | |
|---|---|---|---|
| Version | 1.1.2 | 0.5.1 | 4.1.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 8 | 7 | 51 |
| Crate Size | 30KB | 14KB | 413KB |
| Features | 2 | 3 | 12 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2021 | 2024 |
| MSRV | 1.63 | — | 1.97 |
| Owners | 1 | 1 | 2 (team) |
Links
Quick Verdict
- •ntex has the highest health score (80/100) — a strong overall choice.
- •leaky-bucket has the most downloads (2.8M), suggesting wider adoption.
- •ntex is depended on by 2.4K crates — strongest ecosystem trust.
- •⚠ leaky-bucket, stream_throttle have not been updated in over a year.
- •stream_throttle is pre-1.0 — API may change.