Decision Workspace
flat_string vs fstr vs indoc
Side-by-side comparison of Rust crates
56
flat_string
growingv1.1.0
FlatString is a fixed-size String that can be created directly on the stack.
61
fstr
growingv0.2.22
A stack-allocated fixed-length string type
75
indoc
stablev2.0.8
Indented document literals
Core Metrics
| flat_string | fstr | indoc | |
|---|---|---|---|
| Health Score | 56 | 61 | 75 |
| Total Downloads | 11.5K | 467.3K | 339.9M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 43 | 117 | 30.8K |
| Releases | 4 | 35 | 51 |
| Last Updated | 105d ago | 123d ago | today |
| Age | 1y 10m | 3y 10m | 10y 6m |
Health Breakdown
flat_string
Maintenance
11
Quality
20
Community
10
Popularity
5
Documentation
10
fstr
Maintenance
13
Quality
14
Community
12
Popularity
7
Documentation
15
indoc
Maintenance
18
Quality
19
Community
15
Popularity
8
Documentation
15
Technical Details
| flat_string | fstr | indoc | |
|---|---|---|---|
| Version | 1.1.0 | 0.2.22 | 2.0.8 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✓ Yes |
| License | MIT | Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 0 | 2 | 4 |
| Crate Size | 9KB | 17KB | 18KB |
| Features | 0 | 4 | 0 |
| Yanked % | 0.0% | 8.6% | 0.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | — | 1.85 | 1.71 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •indoc leads with a health score of 75/100, but none of the options score above 80.
- •indoc is depended on by 30.8K crates — strongest ecosystem trust.
- •fstr is pre-1.0 — API may change.