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
stablev3.9.6
Framework for composable network services
Core Metrics
| leaky-bucket | stream_throttle | ntex | |
|---|---|---|---|
| Health Score | 62 | 52 | 80 |
| Total Downloads | 2.0M | 1.9M | 939.9K |
| 30d Downloads | 106.8K | 80.7K | 31.1K |
| Dependents | 787 | 110 | 2.0K |
| Releases | 30 | 6 | 241 |
| Last Updated | 733d ago | 993d ago | 6d ago |
| Age | 6y 9m | 8y | 6y 3m |
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 | 3.9.6 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 8 | 7 | 49 |
| Crate Size | 30KB | 14KB | 247KB |
| Features | 2 | 3 | 14 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2021 | 2024 |
| MSRV | 1.63 | — | 1.88 |
| 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.0M), suggesting wider adoption.
- •ntex is depended on by 2.0K 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.