Decision Workspace
trim-in-place vs string_more vs trim-newlines
Side-by-side comparison of Rust crates
61
trim-in-place
growingv0.2.1
In-place trimming strings.
46
string_more
growingv0.4.0
Extension traits for `String` and `&str` types.
45
trim-newlines
experimentalv0.1.0
Trim newlines (\r and \n) from the start and/or end of a string. A faithful port of the trim-newlines npm package. Zero deps, no_std.
Core Metrics
| trim-in-place | string_more | trim-newlines | |
|---|---|---|---|
| Health Score | 61 | 46 | 45 |
| Total Downloads | 15.4M | 19.3K | 25 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 55 | 0 | 0 |
| Releases | 11 | 6 | 1 |
| Last Updated | 4d ago | 180d ago | 108d ago |
| Age | 6y 4m | 1y 11m | 3m |
Health Breakdown
trim-in-place
Maintenance
16
Quality
15
Community
10
Popularity
8
Documentation
12
string_more
Maintenance
10
Quality
16
Community
3
Popularity
5
Documentation
12
trim-newlines
Maintenance
7
Quality
15
Community
6
Popularity
2
Documentation
15
Technical Details
| trim-in-place | string_more | trim-newlines | |
|---|---|---|---|
| Version | 0.2.1 | 0.4.0 | 0.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 1 | 0 | 0 |
| Crate Size | 4KB | 14KB | 8KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | 1.85 | 1.60 | 1.81 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •trim-in-place leads with a health score of 61/100, but none of the options score above 80.