Decision Workspace
str-shorthand vs static-or-heap-string vs shellexpand
Side-by-side comparison of Rust crates
40
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.
67
shellexpand
growingv3.1.2
Shell-like expansions in strings
Core Metrics
| str-shorthand | static-or-heap-string | shellexpand | |
|---|---|---|---|
| Health Score | 40 | 36 | 67 |
| Total Downloads | 3.6K | 1.3K | 64.9M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 1 | 0 | 13.5K |
| Releases | 3 | 1 | 11 |
| Last Updated | 459d ago | 815d ago | 228d ago |
| Age | 2y 2m | 2y 2m | 10y 7m |
Health Breakdown
str-shorthand
Maintenance
6
Quality
15
Community
5
Popularity
4
Documentation
10
static-or-heap-string
Maintenance
1
Quality
16
Community
5
Popularity
4
Documentation
10
shellexpand
Maintenance
8
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 67/100, but none of the options score above 80.
- •shellexpand is depended on by 13.5K crates — strongest ecosystem trust.
- •⚠ str-shorthand, static-or-heap-string have not been updated in over a year.
- •str-shorthand, static-or-heap-string are pre-1.0 — API may change.