Decision Workspace
trailing-whitespaces vs lineguard vs strip-indent
Side-by-side comparison of Rust crates
56
trailing-whitespaces
growingv0.5.0
Removes trailing whitespaces and trailing empty lines from text files
51
lineguard
growingv0.2.1
A fast and reliable file linter that ensures proper line endings and clean formatting
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.
Core Metrics
| trailing-whitespaces | lineguard | strip-indent | |
|---|---|---|---|
| Health Score | 56 | 51 | 46 |
| Total Downloads | 6.9K | 10.5K | 122 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 1 |
| Releases | 18 | 11 | 1 |
| Last Updated | 21d ago | 30d ago | 108d ago |
| Age | 1y 4m | 1y 3m | 3m |
Health Breakdown
trailing-whitespaces
Maintenance
18
Quality
15
Community
6
Popularity
5
Documentation
12
lineguard
Maintenance
17
Quality
13
Community
6
Popularity
5
Documentation
10
strip-indent
Maintenance
7
Quality
15
Community
7
Popularity
2
Documentation
15
Technical Details
| trailing-whitespaces | lineguard | strip-indent | |
|---|---|---|---|
| Version | 0.5.0 | 0.2.1 | 0.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | Unlicense OR CC0-1.0 | Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 3 | 13 | 0 |
| Crate Size | 5KB | 93KB | 9KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | 1.59 | — | 1.81 |
| 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.
- •lineguard has the most downloads (10.5K), suggesting wider adoption.