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
54
substring
growingv1.4.5
A substring method for string types.
71
bstr
stablev1.12.1
A string type that is not required to be valid UTF-8.
Core Metrics
| substrs | substring | bstr | |
|---|---|---|---|
| Health Score | 36 | 54 | 71 |
| Total Downloads | 1.7K | 7.3M | 269.3M |
| 30d Downloads | 3 | 535.4K | 16.5M |
| Dependents | 0 | 2.9K | 6.8K |
| Releases | 1 | 17 | 49 |
| Last Updated | 2078d ago | 1877d ago | 152d ago |
| Age | 5y 8m | 5y 5m | 7y 5m |
Health Breakdown
substrs
Maintenance
1
Quality
16
Community
6
Popularity
4
Documentation
9
substring
Maintenance
6
Quality
17
Community
15
Popularity
8
Documentation
8
bstr
Maintenance
13
Quality
20
Community
15
Popularity
8
Documentation
15
Technical Details
| substrs | substring | bstr | |
|---|---|---|---|
| Version | 0.1.0 | 1.4.5 | 1.12.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 | 355KB |
| Features | 0 | 0 | 5 |
| Yanked % | 0.0% | 5.9% | 2.0% |
| Edition | 2018 | — | 2021 |
| MSRV | — | — | 1.73 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •bstr leads with a health score of 71/100, but none of the options score above 80.
- •bstr is depended on by 6.8K crates — strongest ecosystem trust.
- •⚠ substrs, substring have not been updated in over a year.
- •substrs is pre-1.0 — API may change.