Decision Workspace
inline-str vs rocstr vs compact_string
Side-by-side comparison of Rust crates
45
inline-str
growingv0.5.0
Efficent and immutable string type, backed by inline-array
46
rocstr
growingv0.6.2
An immutable fixed capacity stack based generic copy string
39
compact_string
experimentalv0.1.0
Compact representation of UTF-8 Strings that are immutable and less than 256 bytes in length.
Core Metrics
| inline-str | rocstr | compact_string | |
|---|---|---|---|
| Health Score | 45 | 46 | 39 |
| Total Downloads | 3.8K | 4.3K | 935 |
| 30d Downloads | 7 | 7 | 41 |
| Dependents | 0 | 0 | 1 |
| Releases | 5 | 4 | 1 |
| Last Updated | 224d ago | 344d ago | 333d ago |
| Age | 1y 4m | 1y 9m | 11m |
Health Breakdown
inline-str
Maintenance
9
Quality
16
Community
6
Popularity
4
Documentation
10
rocstr
Maintenance
6
Quality
15
Community
6
Popularity
4
Documentation
15
compact_string
Maintenance
3
Quality
13
Community
7
Popularity
4
Documentation
12
Technical Details
| inline-str | rocstr | compact_string | |
|---|---|---|---|
| Version | 0.5.0 | 0.6.2 | 0.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | Apache-2.0 OR MIT | MIT OR Apache-2.0 | Apache-2.0 |
| Dependencies | 3 | 11 | 4 |
| Crate Size | 9KB | 27KB | 13KB |
| Features | 1 | 3 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | — | 1.60 | 1.70.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •rocstr leads with a health score of 46/100, but none of the options score above 80.