Decision Workspace
strstr vs strum vs bstr
Side-by-side comparison of Rust crates
32
strstr
growingv0.0.0
Fast mutable strings
71
strum
growingv0.28.0
Helpful macros for working with enums and strings
71
bstr
stablev1.12.1
A string type that is not required to be valid UTF-8.
Core Metrics
| strstr | strum | bstr | |
|---|---|---|---|
| Health Score | 32 | 71 | 71 |
| Total Downloads | 1.5K | 394.9M | 269.3M |
| 30d Downloads | 3 | 30.9M | 16.5M |
| Dependents | 0 | 57.9K | 6.8K |
| Releases | 1 | 40 | 49 |
| Last Updated | 1117d ago | 33d ago | 152d ago |
| Age | 3y | 9y 1m | 7y 5m |
Health Breakdown
strstr
Maintenance
1
Quality
15
Community
2
Popularity
4
Documentation
10
strum
Maintenance
17
Quality
16
Community
15
Popularity
8
Documentation
15
bstr
Maintenance
13
Quality
20
Community
15
Popularity
8
Documentation
15
Technical Details
| strstr | strum | bstr | |
|---|---|---|---|
| Version | 0.0.0 | 0.28.0 | 1.12.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 2 | 2 | 6 |
| Crate Size | 2KB | 9KB | 355KB |
| Features | 0 | 3 | 5 |
| Yanked % | 0.0% | 2.5% | 2.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.71 | 1.73 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •strum leads with a health score of 71/100, but none of the options score above 80.
- •strum is depended on by 57.9K crates — strongest ecosystem trust.
- •⚠ strstr has not been updated in over a year.
- •strstr, strum are pre-1.0 — API may change.