Decision Workspace
trillium-ratelimit vs ratelimit vs better-bucket
Side-by-side comparison of Rust crates
51
trillium-ratelimit
experimentalv0.0.2
rate-limiting handler and RateLimit header types for trillium.rs
66
ratelimit
growingv2.0.0
A lock-free token bucket ratelimiter
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.
Core Metrics
| trillium-ratelimit | ratelimit | better-bucket | |
|---|---|---|---|
| Health Score | 51 | 66 | 63 |
| Total Downloads | 3.3K | 22.2M | 495 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 16 | 303 | 11 |
| Releases | 3 | 31 | 7 |
| Last Updated | 86d ago | 171d ago | 134d ago |
| Age | 4m | 11y | 4m |
Health Breakdown
trillium-ratelimit
Maintenance
14
Quality
14
Community
9
Popularity
4
Documentation
10
ratelimit
Maintenance
8
Quality
20
Community
18
Popularity
8
Documentation
12
better-bucket
Maintenance
19
Quality
17
Community
9
Popularity
3
Documentation
15
Technical Details
| trillium-ratelimit | ratelimit | better-bucket | |
|---|---|---|---|
| Version | 0.0.2 | 2.0.0 | 1.0.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | Apache-2.0 OR MIT |
| Dependencies | 8 | 1 | 6 |
| Crate Size | 45KB | 19KB | 159KB |
| Features | 3 | 2 | 4 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | — | 1.85 | 1.85 |
| Owners | 1 | 3 (team) | 1 |
Links
Quick Verdict
- •ratelimit leads with a health score of 66/100, but none of the options score above 80.
- •ratelimit is depended on by 303 crates — strongest ecosystem trust.
- •trillium-ratelimit is pre-1.0 — API may change.