Decision Workspace
strip-indent vs redent vs trailing-whitespaces
Side-by-side comparison of Rust crates
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.
44
redent
experimentalv0.1.0
Strip redundant indentation and indent the string. A faithful port of the redent npm package (strip-indent + indent-string).
56
trailing-whitespaces
growingv0.5.0
Removes trailing whitespaces and trailing empty lines from text files
Core Metrics
| strip-indent | redent | trailing-whitespaces | |
|---|---|---|---|
| Health Score | 46 | 44 | 56 |
| Total Downloads | 122 | 22 | 6.9K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 1 | 0 | 0 |
| Releases | 1 | 1 | 18 |
| Last Updated | 108d ago | 108d ago | 21d ago |
| Age | 3m | 3m | 1y 4m |
Health Breakdown
strip-indent
Maintenance
7
Quality
15
Community
7
Popularity
2
Documentation
15
redent
Maintenance
7
Quality
14
Community
6
Popularity
2
Documentation
15
trailing-whitespaces
Maintenance
18
Quality
15
Community
6
Popularity
5
Documentation
12
Technical Details
| strip-indent | redent | trailing-whitespaces | |
|---|---|---|---|
| Version | 0.1.0 | 0.1.0 | 0.5.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | Unlicense OR CC0-1.0 |
| Dependencies | 0 | 2 | 3 |
| Crate Size | 9KB | 8KB | 5KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.81 | 1.81 | 1.59 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •trailing-whitespaces leads with a health score of 56/100, but none of the options score above 80.