Decision Workspace
strslice vs str-macro vs substring
Side-by-side comparison of Rust crates
46
strslice
experimentalv0.1.3
Rust library that provides zero copy string iterators for working with string slices. The library offers iterators similar to standard Rust string methods
56
str-macro
growingv1.0.1
The str!() macro, similar to vec![] but for strings
54
substring
growingv1.4.5
A substring method for string types.
Core Metrics
| strslice | str-macro | substring | |
|---|---|---|---|
| Health Score | 46 | 56 | 54 |
| Total Downloads | 42 | 1.1M | 7.3M |
| 30d Downloads | 42 | 13.9K | 535.4K |
| Dependents | 0 | 97 | 2.9K |
| Releases | 3 | 7 | 17 |
| Last Updated | 14d ago | 162d ago | 1877d ago |
| Age | 14d | 6y 11m | 5y 5m |
Health Breakdown
strslice
Maintenance
13
Quality
15
Community
6
Popularity
2
Documentation
10
str-macro
Maintenance
9
Quality
21
Community
10
Popularity
7
Documentation
9
substring
Maintenance
6
Quality
17
Community
15
Popularity
8
Documentation
8
Technical Details
| strslice | str-macro | substring | |
|---|---|---|---|
| Version | 0.1.3 | 1.0.1 | 1.4.5 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 0 | 0 | 1 |
| Crate Size | 5KB | 4KB | 8KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 5.9% |
| Edition | 2024 | 2018 | — |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •str-macro leads with a health score of 56/100, but none of the options score above 80.
- •substring has the most downloads (7.3M), suggesting wider adoption.
- •substring is depended on by 2.9K crates — strongest ecosystem trust.
- •⚠ substring has not been updated in over a year.
- •strslice is pre-1.0 — API may change.