Decision Workspace
detect-newline-style vs detect-newline vs newline_normalizer
Side-by-side comparison of Rust crates
44
detect-newline-style
growingv0.1.2
Determine a string's preferred newline character
51
detect-newline
experimentalv0.1.1
Detect and normalize line endings (LF, CRLF, CR) — a zero-dependency, no_std toolkit. A Rust take on Node's detect-newline.
53
newline_normalizer
growingv0.1.6
Zero-copy newline normalization to \n or \r\n with SIMD acceleration.
Core Metrics
| detect-newline-style | detect-newline | newline_normalizer | |
|---|---|---|---|
| Health Score | 44 | 51 | 53 |
| Total Downloads | 20.3K | 28 | 4.0K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 11 | 0 | 3 |
| Releases | 3 | 2 | 7 |
| Last Updated | 992d ago | 21d ago | 444d ago |
| Age | 2y 9m | 22d | 1y 2m |
Health Breakdown
detect-newline-style
Maintenance
5
Quality
15
Community
9
Popularity
5
Documentation
10
detect-newline
Maintenance
13
Quality
15
Community
6
Popularity
2
Documentation
15
newline_normalizer
Maintenance
13
Quality
14
Community
7
Popularity
4
Documentation
15
Technical Details
| detect-newline-style | detect-newline | newline_normalizer | |
|---|---|---|---|
| Version | 0.1.2 | 0.1.1 | 0.1.6 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 1 | 0 | 6 |
| Crate Size | 3KB | 11KB | 10KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.81 | 1.61 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •newline_normalizer leads with a health score of 53/100, but none of the options score above 80.
- •detect-newline-style has the most downloads (20.3K), suggesting wider adoption.
- •⚠ detect-newline-style, newline_normalizer have not been updated in over a year.