Decision Workspace
stream_throttle vs leaky-bucket vs future-queue
Side-by-side comparison of Rust crates
52
stream_throttle
growingv0.5.1
Provides a Stream combinator, to limit the rate at which items are produced.
62
leaky-bucket
growingv1.1.2
A token-based rate limiter based on the leaky bucket algorithm.
62
future-queue
growingv0.4.0
Adapters to manage a queue of futures, where each future can have a different weight.
Core Metrics
| stream_throttle | leaky-bucket | future-queue | |
|---|---|---|---|
| Health Score | 52 | 62 | 62 |
| Total Downloads | 1.9M | 2.0M | 4.8M |
| 30d Downloads | 80.7K | 106.8K | 433.8K |
| Dependents | 110 | 787 | 109 |
| Releases | 6 | 30 | 5 |
| Last Updated | 993d ago | 733d ago | 55d ago |
| Age | 8y | 6y 9m | 3y 5m |
Health Breakdown
stream_throttle
Maintenance
4
Quality
16
Community
11
Popularity
8
Documentation
13
leaky-bucket
Maintenance
6
Quality
20
Community
14
Popularity
8
Documentation
14
future-queue
Maintenance
13
Quality
13
Community
13
Popularity
8
Documentation
15
Technical Details
| stream_throttle | leaky-bucket | future-queue | |
|---|---|---|---|
| Version | 0.5.1 | 1.1.2 | 0.4.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 7 | 8 | 10 |
| Crate Size | 14KB | 30KB | 31KB |
| Features | 3 | 2 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2018 | 2021 |
| MSRV | — | 1.63 | 1.70 |
| Owners | 1 | 1 | 2 |
Links
Quick Verdict
- •leaky-bucket leads with a health score of 62/100, but none of the options score above 80.
- •future-queue has the most downloads (4.8M), suggesting wider adoption.
- •leaky-bucket is depended on by 787 crates — strongest ecosystem trust.
- •⚠ stream_throttle, leaky-bucket have not been updated in over a year.
- •stream_throttle, future-queue are pre-1.0 — API may change.