Decision Workspace
ratelock vs limitr vs tokio-rate-limit
Side-by-side comparison of Rust crates
50
ratelock
experimentalv0.1.0
Zero-dependency, zero-allocation, lock-free token bucket rate limiter for Rust (std + no_std).
44
limitr
growingv0.2.1
A crate offering various rate-limiting algorithms such as Token Bucket, Leaky Bucket, and more.
55
tokio-rate-limit
experimentalv0.8.0
High-performance, lock-free rate limiting library with pluggable algorithms and Axum middleware
Core Metrics
| ratelock | limitr | tokio-rate-limit | |
|---|---|---|---|
| Health Score | 50 | 44 | 55 |
| Total Downloads | 87 | 4.9K | 1.8K |
| 30d Downloads | 77 | 114 | 472 |
| Dependents | 0 | 0 | 0 |
| Releases | 1 | 4 | 9 |
| Last Updated | 31d ago | 544d ago | 138d ago |
| Age | 1m | 1y 6m | 4m |
Health Breakdown
ratelock
Maintenance
11
Quality
16
Community
6
Popularity
2
Documentation
15
limitr
Maintenance
8
Quality
16
Community
6
Popularity
4
Documentation
10
tokio-rate-limit
Maintenance
18
Quality
12
Community
6
Popularity
4
Documentation
15
Technical Details
| ratelock | limitr | tokio-rate-limit | |
|---|---|---|---|
| Version | 0.1.0 | 0.2.1 | 0.8.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | Apache-2.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 2 | 6 | 30 |
| Crate Size | 24KB | 15KB | 195KB |
| Features | 2 | 4 | 5 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.70 | — | 1.75.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •tokio-rate-limit leads with a health score of 55/100, but none of the options score above 80.
- •limitr has the most downloads (4.9K), suggesting wider adoption.
- •⚠ limitr has not been updated in over a year.