Decision Workspace
axess-strings vs inline-str vs compact_string
Side-by-side comparison of Rust crates
60
axess-strings
experimentalv0.8.0
Immutable short-string primitive for identifiers that are cloned, hashed and compared at high volume: event subject ids, taxonomy tags, key ids. A 24-byte value holding up to 22 bytes inline, referencing `&'static str` in place, and sharing anything longer through an `Arc<str>` so a clone is a refcount bump rather than an allocation. Contains no unsafe code.
41
inline-str
growingv0.5.0
Efficent and immutable string type, backed by inline-array
39
compact_string
growingv0.1.0
Compact representation of UTF-8 Strings that are immutable and less than 256 bytes in length.
Core Metrics
| axess-strings | inline-str | compact_string | |
|---|---|---|---|
| Health Score | 60 | 41 | 39 |
| Total Downloads | 479 | 3.9K | 1.2K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 12 | 0 | 1 |
| Releases | 12 | 5 | 1 |
| Last Updated | 8d ago | 420d ago | 529d ago |
| Age | 4m | 1y 11m | 1y 5m |
Health Breakdown
axess-strings
Maintenance
18
Quality
15
Community
9
Popularity
3
Documentation
15
inline-str
Maintenance
5
Quality
16
Community
6
Popularity
4
Documentation
10
compact_string
Maintenance
2
Quality
14
Community
7
Popularity
4
Documentation
12
Technical Details
| axess-strings | inline-str | compact_string | |
|---|---|---|---|
| Version | 0.8.0 | 0.5.0 | 0.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | Apache-2.0 OR MIT | Apache-2.0 |
| Dependencies | 6 | 3 | 4 |
| Crate Size | 28KB | 9KB | 13KB |
| Features | 4 | 1 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2021 |
| MSRV | 1.94.0 | — | 1.70.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •axess-strings leads with a health score of 60/100, but none of the options score above 80.
- •inline-str has the most downloads (3.9K), suggesting wider adoption.
- •⚠ inline-str, compact_string have not been updated in over a year.