Decision Workspace
substring vs substrs vs str-macro
Side-by-side comparison of Rust crates
52
substring
growingv1.4.5
A substring method for string types.
36
substrs
growingv0.1.0
A crate for substring functionality for the str type in Rust
52
str-macro
growingv1.0.1
The str!() macro, similar to vec![] but for strings
Core Metrics
| substring | substrs | str-macro | |
|---|---|---|---|
| Health Score | 52 | 36 | 52 |
| Total Downloads | 13.5M | 1.7K | 1.5M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 3.0K | 0 | 99 |
| Releases | 17 | 1 | 7 |
| Last Updated | 2073d ago | 2274d ago | 359d ago |
| Age | 5y 12m | 6y 2m | 7y 5m |
Health Breakdown
substring
Maintenance
4
Quality
17
Community
15
Popularity
8
Documentation
8
substrs
Maintenance
1
Quality
16
Community
6
Popularity
4
Documentation
9
str-macro
Maintenance
5
Quality
21
Community
10
Popularity
7
Documentation
9
Technical Details
| substring | substrs | str-macro | |
|---|---|---|---|
| Version | 1.4.5 | 0.1.0 | 1.0.1 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT | MIT |
| Dependencies | 1 | 0 | 0 |
| Crate Size | 8KB | 3KB | 4KB |
| Features | 0 | 0 | 0 |
| Yanked % | 5.9% | 0.0% | 0.0% |
| Edition | — | 2018 | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •substring leads with a health score of 52/100, but none of the options score above 80.
- •substring is depended on by 3.0K crates — strongest ecosystem trust.
- •⚠ substring, substrs have not been updated in over a year.
- •substrs is pre-1.0 — API may change.