Decision Workspace
ratelock vs limitr vs tokio-rate-limit
Side-by-side comparison of Rust crates
44
ratelock
experimentalv0.1.0
Zero-dependency, zero-allocation, lock-free token bucket rate limiter for Rust (std + no_std).
43
limitr
growingv0.2.1
A crate offering various rate-limiting algorithms such as Token Bucket, Leaky Bucket, and more.
60
tokio-rate-limit
experimentalv0.10.0
High-performance, lock-free rate limiting library with pluggable algorithms and Axum middleware
Core Metrics
| ratelock | limitr | tokio-rate-limit | |
|---|---|---|---|
| Health Score | 44 | 43 | 60 |
| Total Downloads | 635 | 5.8K | 24.1K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 4 |
| Releases | 1 | 4 | 13 |
| Last Updated | 227d ago | 740d ago | 42d ago |
| Age | 7m | 2y | 11m |
Health Breakdown
ratelock
Maintenance
4
Quality
16
Community
6
Popularity
3
Documentation
15
limitr
Maintenance
7
Quality
16
Community
6
Popularity
4
Documentation
10
tokio-rate-limit
Maintenance
16
Quality
14
Community
10
Popularity
5
Documentation
15
Technical Details
| ratelock | limitr | tokio-rate-limit | |
|---|---|---|---|
| Version | 0.1.0 | 0.2.1 | 0.10.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | Apache-2.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 2 | 6 | 25 |
| Crate Size | 24KB | 15KB | 81KB |
| Features | 2 | 4 | 5 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.70 | — | 1.85 |
| Owners | 1 | 1 | 2 |
Links
Quick Verdict
- •tokio-rate-limit leads with a health score of 60/100, but none of the options score above 80.
- •⚠ limitr has not been updated in over a year.