Decision Workspace
cold-string vs compact_str vs sinstr
Side-by-side comparison of Rust crates
46
cold-string
experimentalv0.2.0
A 1-word SSO string that saves up to 24 bytes over String.
63
compact_str
growingv0.10.0
A memory efficient string type that transparently stores strings on the stack, when possible
46
sinstr
experimentalv0.4.0
A single WORD small string optimization library.
Core Metrics
| cold-string | compact_str | sinstr | |
|---|---|---|---|
| Health Score | 46 | 63 | 46 |
| Total Downloads | 336 | 117.3M | 67 |
| 30d Downloads | 0 | 8.0M | 0 |
| Dependents | 0 | 7.7K | 0 |
| Releases | 2 | 23 | 4 |
| Last Updated | 134d ago | today | 110d ago |
| Age | 4m | 4y 9m | 3m |
Health Breakdown
cold-string
Maintenance
11
Quality
15
Community
6
Popularity
3
Documentation
11
compact_str
Maintenance
18
Quality
10
Community
15
Popularity
8
Documentation
12
sinstr
Maintenance
18
Quality
8
Community
6
Popularity
2
Documentation
12
Technical Details
| cold-string | compact_str | sinstr | |
|---|---|---|---|
| Version | 0.2.0 | 0.10.0 | 0.4.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT | MIT |
| Dependencies | 7 | 36 | 4 |
| Crate Size | 19KB | 104KB | 32KB |
| Features | 3 | 24 | 0 |
| Yanked % | 0.0% | 13.0% | 25.0% |
| Edition | 2018 | 2021 | 2024 |
| MSRV | 1.60.0 | 1.71 | 1.91 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •compact_str leads with a health score of 63/100, but none of the options score above 80.
- •compact_str is depended on by 7.7K crates — strongest ecosystem trust.