Decision Workspace
small_range vs compact_str vs unthbuf
Side-by-side comparison of Rust crates
46
small_range
experimentalv1.0.0
A compact range type: 50% smaller than Range<T> with zero-cost Option
52
compact_str
growingv0.9.0
A memory efficient string type that transparently stores strings on the stack, when possible
49
unthbuf
growingv1.0.0
Unsigned N-bit Buffer: A structure that holds a fixed buffer of `bits`-sized unsigned integer elements.
Core Metrics
| small_range | compact_str | unthbuf | |
|---|---|---|---|
| Health Score | 46 | 52 | 49 |
| Total Downloads | 17 | 78.3M | 4.2K |
| 30d Downloads | 3 | 9.8M | 22 |
| Dependents | 0 | 5.1K | 10 |
| Releases | 1 | 20 | 3 |
| Last Updated | 65d ago | 396d ago | 1118d ago |
| Age | 2m | 4y 6m | 3y 5m |
Health Breakdown
small_range
Maintenance
9
Quality
17
Community
6
Popularity
1
Documentation
13
compact_str
Maintenance
8
Quality
11
Community
15
Popularity
8
Documentation
10
unthbuf
Maintenance
4
Quality
20
Community
8
Popularity
4
Documentation
13
Technical Details
| small_range | compact_str | unthbuf | |
|---|---|---|---|
| Version | 1.0.0 | 0.9.0 | 1.0.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✓ Yes |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 3 | 28 | 1 |
| Crate Size | 19KB | 72KB | 13KB |
| Features | 0 | 17 | 0 |
| Yanked % | 0.0% | 15.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •compact_str leads with a health score of 52/100, but none of the options score above 80.
- •compact_str is depended on by 5.1K crates — strongest ecosystem trust.
- •⚠ compact_str, unthbuf have not been updated in over a year.
- •compact_str is pre-1.0 — API may change.