Decision Workspace
str-shorthand vs static-or-heap-string vs shellexpand
Side-by-side comparison of Rust crates
42
str-shorthand
growingv0.3.0
A Rust crate that provides utility functions for string manipulation. Includes a function to bisect a string into two halves, handling multi-byte UTF-8 characters correctly.
36
static-or-heap-string
growingv0.1.0
An enum type for handling both static and heap-allocated strings.
74
shellexpand
stablev3.1.2
Shell-like expansions in strings
Core Metrics
| str-shorthand | static-or-heap-string | shellexpand | |
|---|---|---|---|
| Health Score | 42 | 36 | 74 |
| Total Downloads | 3.3K | 1.2K | 37.5M |
| 30d Downloads | 73 | 3 | 2.7M |
| Dependents | 1 | 0 | 9.1K |
| Releases | 3 | 1 | 11 |
| Last Updated | 263d ago | 619d ago | 32d ago |
| Age | 1y 8m | 1y 8m | 10y |
Health Breakdown
str-shorthand
Maintenance
8
Quality
15
Community
5
Popularity
4
Documentation
10
static-or-heap-string
Maintenance
1
Quality
16
Community
5
Popularity
4
Documentation
10
shellexpand
Maintenance
15
Quality
23
Community
14
Popularity
8
Documentation
14
Technical Details
| str-shorthand | static-or-heap-string | shellexpand | |
|---|---|---|---|
| Version | 0.3.0 | 0.1.0 | 3.1.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT | MIT/Apache-2.0 |
| Dependencies | 2 | 4 | 3 |
| Crate Size | 3KB | 4KB | 26KB |
| Features | 0 | 2 | 7 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2018 |
| MSRV | — | — | 1.31 |
| Owners | 1 | 1 | 2 |
Links
Quick Verdict
- •shellexpand leads with a health score of 74/100, but none of the options score above 80.
- •shellexpand is depended on by 9.1K crates — strongest ecosystem trust.
- •⚠ static-or-heap-string has not been updated in over a year.
- •str-shorthand, static-or-heap-string are pre-1.0 — API may change.