Decision Workspace
utf8_slice vs substring vs str-macro
Side-by-side comparison of Rust crates
47
utf8_slice
growingv1.0.0
Lightweight UTF8 Slice Utilities
54
substring
growingv1.4.5
A substring method for string types.
53
str-macro
growingv1.0.1
The str!() macro, similar to vec![] but for strings
Core Metrics
| utf8_slice | substring | str-macro | |
|---|---|---|---|
| Health Score | 47 | 54 | 53 |
| Total Downloads | 31.7K | 8.4M | 1.1M |
| 30d Downloads | 0 | 608.2K | 29.9K |
| Dependents | 57 | 3.0K | 99 |
| Releases | 1 | 17 | 7 |
| Last Updated | 2011d ago | 1936d ago | 222d ago |
| Age | 5y 6m | 5y 7m | 7y 1m |
Health Breakdown
utf8_slice
Maintenance
1
Quality
21
Community
11
Popularity
5
Documentation
9
substring
Maintenance
6
Quality
17
Community
15
Popularity
8
Documentation
8
str-macro
Maintenance
6
Quality
21
Community
10
Popularity
7
Documentation
9
Technical Details
| utf8_slice | substring | str-macro | |
|---|---|---|---|
| Version | 1.0.0 | 1.4.5 | 1.0.1 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 0 | 1 | 0 |
| Crate Size | 2KB | 8KB | 4KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 5.9% | 0.0% |
| Edition | 2018 | — | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •substring leads with a health score of 54/100, but none of the options score above 80.
- •substring is depended on by 3.0K crates — strongest ecosystem trust.
- •⚠ utf8_slice, substring have not been updated in over a year.