Decision Workspace
strip_bom vs bstr vs tinystr
Side-by-side comparison of Rust crates
50
strip_bom
growingv1.0.0
Add a simple BOM striping feature for `str` and `String`.
71
bstr
stablev1.12.1
A string type that is not required to be valid UTF-8.
61
tinystr
growingv0.8.2
A small ASCII-only bounded length string representation.
Core Metrics
| strip_bom | bstr | tinystr | |
|---|---|---|---|
| Health Score | 50 | 71 | 61 |
| Total Downloads | 822.8K | 269.3M | 265.1M |
| 30d Downloads | 21.2K | 16.5M | 33.3M |
| Dependents | 22 | 6.8K | 627 |
| Releases | 1 | 49 | 34 |
| Last Updated | 2024d ago | 152d ago | 150d ago |
| Age | 5y 6m | 7y 5m | 6y 7m |
Health Breakdown
strip_bom
Maintenance
1
Quality
21
Community
9
Popularity
7
Documentation
12
bstr
Maintenance
13
Quality
20
Community
15
Popularity
8
Documentation
15
tinystr
Maintenance
12
Quality
13
Community
18
Popularity
8
Documentation
10
Technical Details
| strip_bom | bstr | tinystr | |
|---|---|---|---|
| Version | 1.0.0 | 1.12.1 | 0.8.2 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | MIT | MIT OR Apache-2.0 | Unicode-3.0 |
| Dependencies | 0 | 6 | 9 |
| Crate Size | 3KB | 355KB | 24KB |
| Features | 0 | 5 | 6 |
| Yanked % | 0.0% | 2.0% | 5.9% |
| Edition | 2018 | 2021 | 2021 |
| MSRV | — | 1.73 | 1.82 |
| Owners | 1 | 1 | 4 (team) |
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.
- •⚠ strip_bom has not been updated in over a year.
- •tinystr is pre-1.0 — API may change.