Decision Workspace
mailrs-rate-limit vs better-bucket vs armature-ratelimit
Side-by-side comparison of Rust crates
51
mailrs-rate-limit
experimentalv1.0.4
Token-bucket rate limiting trait + in-memory reference impl. &str keys (IP / user / api-key / endpoint), unix-seconds time. Async, transport-agnostic, no protocol coupling. Standalone — bring your own storage backend.
63
better-bucket
experimentalv1.0.0
A genuinely better token bucket for Rust: lock-free, allocation-free acquire path, cache-aligned, overflow-safe, with a one-line Tier-1 API and a mockable clock for deterministic tests.
55
armature-ratelimit
experimentalv0.5.0
Rate limiting middleware for Armature framework with multiple algorithms and storage backends
Core Metrics
| mailrs-rate-limit | better-bucket | armature-ratelimit | |
|---|---|---|---|
| Health Score | 51 | 63 | 55 |
| Total Downloads | 977 | 495 | 958 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 11 | 9 |
| Releases | 5 | 7 | 10 |
| Last Updated | 129d ago | 134d ago | 24d ago |
| Age | 4m | 4m | 9m |
Health Breakdown
mailrs-rate-limit
Maintenance
12
Quality
16
Community
6
Popularity
4
Documentation
13
better-bucket
Maintenance
19
Quality
17
Community
9
Popularity
3
Documentation
15
armature-ratelimit
Maintenance
17
Quality
13
Community
9
Popularity
4
Documentation
12
Technical Details
| mailrs-rate-limit | better-bucket | armature-ratelimit | |
|---|---|---|---|
| Version | 1.0.4 | 1.0.0 | 0.5.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | Apache-2.0 OR MIT | Apache-2.0 OR MIT | Apache-2.0 |
| Dependencies | 6 | 6 | 18 |
| Crate Size | 33KB | 159KB | 69KB |
| Features | 0 | 4 | 3 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | — | 1.85 | 1.94.1 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •better-bucket leads with a health score of 63/100, but none of the options score above 80.
- •mailrs-rate-limit has the most downloads (977), suggesting wider adoption.
- •armature-ratelimit is pre-1.0 — API may change.