Decision Workspace
with-str-bytes vs bstr vs strip_bom
Side-by-side comparison of Rust crates
41
with-str-bytes
growingv1.0.0
Safely manipulate the bytes of a UTF-8 string
71
bstr
stablev1.12.1
A string type that is not required to be valid UTF-8.
50
strip_bom
growingv1.0.0
Add a simple BOM striping feature for `str` and `String`.
Core Metrics
| with-str-bytes | bstr | strip_bom | |
|---|---|---|---|
| Health Score | 41 | 71 | 50 |
| Total Downloads | 1.6K | 269.3M | 822.8K |
| 30d Downloads | 4 | 16.5M | 21.2K |
| Dependents | 0 | 6.8K | 22 |
| Releases | 1 | 49 | 1 |
| Last Updated | 1888d ago | 152d ago | 2024d ago |
| Age | 5y 2m | 7y 5m | 5y 6m |
Health Breakdown
with-str-bytes
Maintenance
1
Quality
21
Community
6
Popularity
4
Documentation
9
bstr
Maintenance
13
Quality
20
Community
15
Popularity
8
Documentation
15
strip_bom
Maintenance
1
Quality
21
Community
9
Popularity
7
Documentation
12
Technical Details
| with-str-bytes | bstr | strip_bom | |
|---|---|---|---|
| Version | 1.0.0 | 1.12.1 | 1.0.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 0 | 6 | 0 |
| Crate Size | 2KB | 355KB | 3KB |
| Features | 0 | 5 | 0 |
| Yanked % | 0.0% | 2.0% | 0.0% |
| Edition | 2018 | 2021 | 2018 |
| 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.
- •⚠ with-str-bytes, strip_bom have not been updated in over a year.