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