Decision Workspace
unthbuf vs compact_str vs sinstr
Side-by-side comparison of Rust crates
49
unthbuf
growingv1.0.0
Unsigned N-bit Buffer: A structure that holds a fixed buffer of `bits`-sized unsigned integer elements.
52
compact_str
growingv0.9.0
A memory efficient string type that transparently stores strings on the stack, when possible
47
sinstr
experimentalv0.4.0
A single WORD small string optimization library.
Core Metrics
| unthbuf | compact_str | sinstr | |
|---|---|---|---|
| Health Score | 49 | 52 | 47 |
| Total Downloads | 4.2K | 78.3M | 47 |
| 30d Downloads | 22 | 9.8M | 47 |
| Dependents | 10 | 5.1K | 0 |
| Releases | 3 | 20 | 4 |
| Last Updated | 1118d ago | 396d ago | 2d ago |
| Age | 3y 5m | 4y 6m | 3d |
Health Breakdown
unthbuf
Maintenance
4
Quality
20
Community
8
Popularity
4
Documentation
13
compact_str
Maintenance
8
Quality
11
Community
15
Popularity
8
Documentation
10
sinstr
Maintenance
19
Quality
8
Community
6
Popularity
2
Documentation
12
Technical Details
| unthbuf | compact_str | sinstr | |
|---|---|---|---|
| Version | 1.0.0 | 0.9.0 | 0.4.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT | MIT |
| Dependencies | 1 | 28 | 4 |
| Crate Size | 13KB | 72KB | 32KB |
| Features | 0 | 17 | 0 |
| Yanked % | 0.0% | 15.0% | 25.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | — | — | 1.91 |
| 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.
- •⚠ unthbuf, compact_str have not been updated in over a year.
- •compact_str, sinstr are pre-1.0 — API may change.