Decision Workspace
flat_string vs fstr vs bstr
Side-by-side comparison of Rust crates
59
flat_string
stablev1.1.0
FlatString is a fixed-size String that can be created directly on the stack.
65
fstr
growingv0.2.22
A stack-allocated fixed-length string type
76
bstr
stablev1.12.3
A string type that is not required to be valid UTF-8.
Core Metrics
| flat_string | fstr | bstr | |
|---|---|---|---|
| Health Score | 59 | 65 | 76 |
| Total Downloads | 5.8K | 392.0K | 347.7M |
| 30d Downloads | 0 | 15.6K | 15.8M |
| Dependents | 34 | 116 | 7.8K |
| Releases | 4 | 35 | 51 |
| Last Updated | 16d ago | 35d ago | 18d ago |
| Age | 1y 7m | 3y 7m | 7y 9m |
Health Breakdown
flat_string
Maintenance
15
Quality
20
Community
10
Popularity
4
Documentation
10
fstr
Maintenance
17
Quality
14
Community
12
Popularity
7
Documentation
15
bstr
Maintenance
18
Quality
20
Community
15
Popularity
8
Documentation
15
Technical Details
| flat_string | fstr | bstr | |
|---|---|---|---|
| Version | 1.1.0 | 0.2.22 | 1.12.3 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✓ Yes |
| License | MIT | Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 0 | 2 | 6 |
| Crate Size | 9KB | 17KB | 355KB |
| Features | 0 | 4 | 5 |
| Yanked % | 0.0% | 8.6% | 2.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | — | 1.85 | 1.65 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •bstr leads with a health score of 76/100, but none of the options score above 80.
- •bstr is depended on by 7.8K crates — strongest ecosystem trust.
- •fstr is pre-1.0 — API may change.