Decision Workspace
redent vs strip-indent vs strip_bom
Side-by-side comparison of Rust crates
44
redent
experimentalv0.1.0
Strip redundant indentation and indent the string. A faithful port of the redent npm package (strip-indent + indent-string).
46
strip-indent
experimentalv0.1.0
Strip leading whitespace from each line of a multi-line string, based on the least-indented line. A faithful port of the strip-indent npm package. Zero deps, no_std.
50
strip_bom
growingv1.0.0
Add a simple BOM striping feature for `str` and `String`.
Core Metrics
| redent | strip-indent | strip_bom | |
|---|---|---|---|
| Health Score | 44 | 46 | 50 |
| Total Downloads | 22 | 122 | 930.8K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 1 | 22 |
| Releases | 1 | 1 | 1 |
| Last Updated | 108d ago | 108d ago | 2220d ago |
| Age | 3m | 3m | 6y 1m |
Health Breakdown
redent
Maintenance
7
Quality
14
Community
6
Popularity
2
Documentation
15
strip-indent
Maintenance
7
Quality
15
Community
7
Popularity
2
Documentation
15
strip_bom
Maintenance
1
Quality
21
Community
9
Popularity
7
Documentation
12
Technical Details
| redent | strip-indent | strip_bom | |
|---|---|---|---|
| Version | 0.1.0 | 0.1.0 | 1.0.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 2 | 0 | 0 |
| Crate Size | 8KB | 9KB | 3KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2018 |
| MSRV | 1.81 | 1.81 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •strip_bom leads with a health score of 50/100, but none of the options score above 80.
- •⚠ strip_bom has not been updated in over a year.
- •redent, strip-indent are pre-1.0 — API may change.