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