Decision Workspace
thin_str vs tinystr vs cstr_core
Side-by-side comparison of Rust crates
40
thin_str
growingv0.1.0
A string type that's smaller than `Box<str>` or String
61
tinystr
growingv0.8.2
A small ASCII-only bounded length string representation.
56
cstr_core
growingv0.2.6
Implementation of CStr and CString for no_std environments.
Core Metrics
| thin_str | tinystr | cstr_core | |
|---|---|---|---|
| Health Score | 40 | 61 | 56 |
| Total Downloads | 38.1K | 265.1M | 2.9M |
| 30d Downloads | 160 | 33.3M | 77.4K |
| Dependents | 3 | 627 | 515 |
| Releases | 1 | 34 | 10 |
| Last Updated | 2262d ago | 150d ago | 1347d ago |
| Age | 6y 2m | 6y 7m | 8y 5m |
Health Breakdown
thin_str
Maintenance
1
Quality
17
Community
8
Popularity
5
Documentation
9
tinystr
Maintenance
12
Quality
13
Community
18
Popularity
8
Documentation
10
cstr_core
Maintenance
5
Quality
18
Community
13
Popularity
8
Documentation
12
Technical Details
| thin_str | tinystr | cstr_core | |
|---|---|---|---|
| Version | 0.1.0 | 0.8.2 | 0.2.6 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT/Apache-2.0 | Unicode-3.0 | Apache-2.0/MIT |
| Dependencies | 2 | 9 | 2 |
| Crate Size | 10KB | 24KB | 18KB |
| Features | 2 | 6 | 6 |
| Yanked % | 0.0% | 5.9% | 0.0% |
| Edition | 2018 | 2021 | 2018 |
| MSRV | — | 1.82 | — |
| Owners | 1 | 4 (team) | 1 |
Links
Quick Verdict
- •tinystr leads with a health score of 61/100, but none of the options score above 80.
- •tinystr is depended on by 627 crates — strongest ecosystem trust.
- •⚠ thin_str, cstr_core have not been updated in over a year.