Decision Workspace
strtools vs bstr vs tinystr
Side-by-side comparison of Rust crates
41
strtools
growingv0.3.1
A library containing various string utilities
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
| strtools | bstr | tinystr | |
|---|---|---|---|
| Health Score | 41 | 71 | 61 |
| Total Downloads | 6.3K | 269.3M | 265.1M |
| 30d Downloads | 7 | 16.5M | 33.3M |
| Dependents | 0 | 6.8K | 627 |
| Releases | 5 | 49 | 34 |
| Last Updated | 1357d ago | 152d ago | 150d ago |
| Age | 3y 11m | 7y 5m | 6y 7m |
Health Breakdown
strtools
Maintenance
5
Quality
15
Community
6
Popularity
5
Documentation
10
bstr
Maintenance
13
Quality
20
Community
15
Popularity
8
Documentation
15
tinystr
Maintenance
12
Quality
13
Community
18
Popularity
8
Documentation
10
Technical Details
| strtools | bstr | tinystr | |
|---|---|---|---|
| Version | 0.3.1 | 1.12.1 | 0.8.2 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT OR Apache-2.0 | Unicode-3.0 |
| Dependencies | 2 | 6 | 9 |
| Crate Size | 19KB | 355KB | 24KB |
| Features | 0 | 5 | 6 |
| Yanked % | 0.0% | 2.0% | 5.9% |
| Edition | 2021 | 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.
- •⚠ strtools has not been updated in over a year.
- •strtools, tinystr are pre-1.0 — API may change.