Decision Workspace
better-bucket vs ratelimit vs rate-net
Side-by-side comparison of Rust crates
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.
66
ratelimit
growingv2.0.0
A lock-free token bucket ratelimiter
52
rate-net
experimentalv1.0.0
A powerful, lock-free rate limiter for Rust: multiple algorithms behind one trait, sharded per-key state, bounded-memory eviction, retry-after, and a one-line Tier-1 API. Built against hostile traffic.
Core Metrics
| better-bucket | ratelimit | rate-net | |
|---|---|---|---|
| Health Score | 63 | 66 | 52 |
| Total Downloads | 495 | 22.2M | 73 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 11 | 303 | 0 |
| Releases | 7 | 31 | 3 |
| Last Updated | 134d ago | 171d ago | 133d ago |
| Age | 4m | 11y | 4m |
Health Breakdown
better-bucket
Maintenance
19
Quality
17
Community
9
Popularity
3
Documentation
15
ratelimit
Maintenance
8
Quality
20
Community
18
Popularity
8
Documentation
12
rate-net
Maintenance
13
Quality
16
Community
6
Popularity
2
Documentation
15
Technical Details
| better-bucket | ratelimit | rate-net | |
|---|---|---|---|
| Version | 1.0.0 | 2.0.0 | 1.0.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | Apache-2.0 OR MIT | MIT OR Apache-2.0 | Apache-2.0 OR MIT |
| Dependencies | 6 | 1 | 10 |
| Crate Size | 159KB | 19KB | 105KB |
| Features | 4 | 2 | 4 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | 1.85 | 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.