Decision Workspace
with-str-bytes vs bstr vs tinystr
Side-by-side comparison of Rust crates
41
with-str-bytes
growingv1.0.0
Safely manipulate the bytes of a UTF-8 string
73
bstr
stablev1.13.1
A string type that is not required to be valid UTF-8.
65
tinystr
growingv0.8.4
A small ASCII-only bounded length string representation.
Core Metrics
| with-str-bytes | bstr | tinystr | |
|---|---|---|---|
| Health Score | 41 | 73 | 65 |
| Total Downloads | 1.6K | 449.5M | 646.5M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 9.6K | 733 |
| Releases | 1 | 53 | 36 |
| Last Updated | 2084d ago | 60d ago | 57d ago |
| Age | 5y 8m | 8y | 7y 2m |
Health Breakdown
with-str-bytes
Maintenance
1
Quality
21
Community
6
Popularity
4
Documentation
9
bstr
Maintenance
15
Quality
20
Community
15
Popularity
8
Documentation
15
tinystr
Maintenance
16
Quality
13
Community
18
Popularity
8
Documentation
10
Technical Details
| with-str-bytes | bstr | tinystr | |
|---|---|---|---|
| Version | 1.0.0 | 1.13.1 | 0.8.4 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | Unicode-3.0 |
| Dependencies | 0 | 6 | 9 |
| Crate Size | 2KB | 357KB | 25KB |
| Features | 0 | 5 | 6 |
| Yanked % | 0.0% | 1.9% | 5.6% |
| Edition | 2018 | 2021 | 2021 |
| MSRV | — | 1.65 | 1.82 |
| Owners | 1 | 1 | 4 (team) |
Links
Quick Verdict
- •bstr leads with a health score of 73/100, but none of the options score above 80.
- •tinystr has the most downloads (646.5M), suggesting wider adoption.
- •bstr is depended on by 9.6K crates — strongest ecosystem trust.
- •⚠ with-str-bytes has not been updated in over a year.
- •tinystr is pre-1.0 — API may change.