Decision Workspace
unicode-display-width vs nativelite-uwidth vs unicode-truncate
Side-by-side comparison of Rust crates
49
unicode-display-width
growingv0.3.0
Unicode 15.1.0 compliant utility for determining the number of columns required to display an arbitrary string
46
nativelite-uwidth
experimentalv0.1.0
Unicode display width (0/1/2 columns per char) from the UCD. Zero third-party dependencies; standard library only.
65
unicode-truncate
stablev3.0.0
Unicode-aware algorithm to pad or truncate `str` in terms of displayed width.
Core Metrics
| unicode-display-width | nativelite-uwidth | unicode-truncate | |
|---|---|---|---|
| Health Score | 49 | 46 | 65 |
| Total Downloads | 314.1K | 111 | 58.4M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 291 | 5 | 728 |
| Releases | 2 | 1 | 8 |
| Last Updated | 1060d ago | 27d ago | 50d ago |
| Age | 2y 11m | 27d | 7y 1m |
Health Breakdown
unicode-display-width
Maintenance
4
Quality
15
Community
13
Popularity
7
Documentation
10
nativelite-uwidth
Maintenance
11
Quality
15
Community
8
Popularity
2
Documentation
10
unicode-truncate
Maintenance
14
Quality
21
Community
11
Popularity
8
Documentation
11
Technical Details
| unicode-display-width | nativelite-uwidth | unicode-truncate | |
|---|---|---|---|
| Version | 0.3.0 | 0.1.0 | 3.0.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 3 | 0 | 4 |
| Crate Size | 10KB | 11KB | 18KB |
| Features | 0 | 0 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2018 |
| MSRV | — | — | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •unicode-truncate leads with a health score of 65/100, but none of the options score above 80.
- •unicode-truncate is depended on by 728 crates — strongest ecosystem trust.
- •⚠ unicode-display-width has not been updated in over a year.
- •unicode-display-width, nativelite-uwidth are pre-1.0 — API may change.