Decision Workspace
unicode-width-16 vs unicode-width vs unicode-truncate
Side-by-side comparison of Rust crates
48
unicode-width-16
growingv0.1.0
Determine displayed width of `char` and `str` types according to Unicode Standard Annex #11 rules.
64
unicode-width
growingv0.2.2
Determine displayed width of `char` and `str` types according to Unicode Standard Annex #11 rules.
63
unicode-truncate
stablev2.0.1
Unicode-aware algorithm to pad or truncate `str` in terms of displayed width.
Core Metrics
| unicode-width-16 | unicode-width | unicode-truncate | |
|---|---|---|---|
| Health Score | 48 | 64 | 63 |
| Total Downloads | 20.6K | 518.8M | 19.0M |
| 30d Downloads | 2.1K | 39.4M | 3.6M |
| Dependents | 100 | 20.5K | 565 |
| Releases | 1 | 19 | 7 |
| Last Updated | 533d ago | 172d ago | 71d ago |
| Age | 1y 5m | 10y 11m | 6y 7m |
Health Breakdown
unicode-width-16
Maintenance
2
Quality
17
Community
13
Popularity
5
Documentation
11
unicode-width
Maintenance
9
Quality
16
Community
19
Popularity
8
Documentation
12
unicode-truncate
Maintenance
13
Quality
20
Community
11
Popularity
8
Documentation
11
Technical Details
| unicode-width-16 | unicode-width | unicode-truncate | |
|---|---|---|---|
| Version | 0.1.0 | 0.2.2 | 2.0.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 3 | 2 | 4 |
| Crate Size | 19KB | 283KB | 18KB |
| Features | 4 | 4 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | — | 2021 | 2018 |
| MSRV | — | 1.66 | 1.66 |
| Owners | 2 (team) | 5 | 1 |
Links
Quick Verdict
- •unicode-width leads with a health score of 64/100, but none of the options score above 80.
- •unicode-width is depended on by 20.5K crates — strongest ecosystem trust.
- •⚠ unicode-width-16 has not been updated in over a year.
- •unicode-width-16, unicode-width are pre-1.0 — API may change.