Decision Workspace
slicestring vs substring vs stringslice
Side-by-side comparison of Rust crates
37
slicestring
growingv0.3.3
slicestring is a crate for slicing Strings
54
substring
growingv1.4.5
A substring method for string types.
41
stringslice
growingv0.2.0
A collection of methods to slice strings based on character indices rather than bytes
Core Metrics
| slicestring | substring | stringslice | |
|---|---|---|---|
| Health Score | 37 | 54 | 41 |
| Total Downloads | 21.3K | 7.3M | 163.1K |
| 30d Downloads | 263 | 555.4K | 5.0K |
| Dependents | 16 | 2.9K | 0 |
| Releases | 10 | 17 | 4 |
| Last Updated | 845d ago | 1877d ago | 816d ago |
| Age | 4y 5m | 5y 5m | 5y |
Health Breakdown
slicestring
Maintenance
4
Quality
10
Community
9
Popularity
5
Documentation
9
substring
Maintenance
6
Quality
17
Community
15
Popularity
8
Documentation
8
stringslice
Maintenance
3
Quality
15
Community
6
Popularity
6
Documentation
11
Technical Details
| slicestring | substring | stringslice | |
|---|---|---|---|
| Version | 0.3.3 | 1.4.5 | 0.2.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 0 | 1 | 1 |
| Crate Size | 2KB | 8KB | 9KB |
| Features | 0 | 0 | 0 |
| Yanked % | 40.0% | 5.9% | 0.0% |
| Edition | 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 2.9K crates — strongest ecosystem trust.
- •⚠ slicestring, substring, stringslice have not been updated in over a year.
- •slicestring, stringslice are pre-1.0 — API may change.