Decision Workspace
stroka vs bstr vs tinystr
Side-by-side comparison of Rust crates
45
stroka
growingv1.0.0-beta.6
Small String optimization
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
| stroka | bstr | tinystr | |
|---|---|---|---|
| Health Score | 45 | 71 | 61 |
| Total Downloads | 6.0K | 269.3M | 265.1M |
| 30d Downloads | 8 | 16.5M | 33.3M |
| Dependents | 0 | 6.8K | 627 |
| Releases | 6 | 49 | 34 |
| Last Updated | 144d ago | 152d ago | 150d ago |
| Age | 4y 7m | 7y 5m | 6y 7m |
Health Breakdown
stroka
Maintenance
10
Quality
21
Community
2
Popularity
5
Documentation
7
bstr
Maintenance
13
Quality
20
Community
15
Popularity
8
Documentation
15
tinystr
Maintenance
12
Quality
13
Community
18
Popularity
8
Documentation
10
Technical Details
| stroka | bstr | tinystr | |
|---|---|---|---|
| Version | 1.0.0-beta.6 | 1.12.1 | 0.8.2 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | BSL-1.0 | MIT OR Apache-2.0 | Unicode-3.0 |
| Dependencies | 3 | 6 | 9 |
| Crate Size | 13KB | 355KB | 24KB |
| Features | 1 | 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.
- •tinystr is pre-1.0 — API may change.