Decision Workspace
docstr vs indoc vs unindent
Side-by-side comparison of Rust crates
52
docstr
growingv0.4.10
Ergonomic multi-line string literals
75
indoc
stablev2.0.8
Indented document literals
56
unindent
growingv0.2.4
Remove a column of leading whitespace from a string
Core Metrics
| docstr | indoc | unindent | |
|---|---|---|---|
| Health Score | 52 | 75 | 56 |
| Total Downloads | 31.7K | 339.9M | 229.9M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 19 | 30.8K | 2.6K |
| Releases | 15 | 51 | 17 |
| Last Updated | 222d ago | today | 585d ago |
| Age | 1y | 10y 6m | 10y 2m |
Health Breakdown
docstr
Maintenance
10
Quality
15
Community
10
Popularity
5
Documentation
12
indoc
Maintenance
18
Quality
19
Community
15
Popularity
8
Documentation
15
unindent
Maintenance
5
Quality
16
Community
14
Popularity
8
Documentation
13
Technical Details
| docstr | indoc | unindent | |
|---|---|---|---|
| Version | 0.4.10 | 2.0.8 | 0.2.4 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 2 | 4 | 0 |
| Crate Size | 17KB | 18KB | 7KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.65 | 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.
- •⚠ unindent has not been updated in over a year.
- •docstr, unindent are pre-1.0 — API may change.