Decision Workspace
unicode-width-16 vs unicode-truncate vs unicode-width
Side-by-side comparison of Rust crates
49
unicode-width-16
growingv0.1.0
Determine displayed width of `char` and `str` types according to Unicode Standard Annex #11 rules.
65
unicode-truncate
stablev3.0.0
Unicode-aware algorithm to pad or truncate `str` in terms of displayed width.
61
unicode-width
growingv0.2.2
Determine displayed width of `char` and `str` types according to Unicode Standard Annex #11 rules.
Core Metrics
| unicode-width-16 | unicode-truncate | unicode-width | |
|---|---|---|---|
| Health Score | 49 | 65 | 61 |
| Total Downloads | 91.4K | 58.4M | 860.2M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 224 | 728 | 42.3K |
| Releases | 1 | 8 | 19 |
| Last Updated | 729d ago | 50d ago | 368d ago |
| Age | 1y 12m | 7y 1m | 11y 6m |
Health Breakdown
unicode-width-16
Maintenance
1
Quality
17
Community
14
Popularity
6
Documentation
11
unicode-truncate
Maintenance
14
Quality
21
Community
11
Popularity
8
Documentation
11
unicode-width
Maintenance
6
Quality
16
Community
19
Popularity
8
Documentation
12
Technical Details
| unicode-width-16 | unicode-truncate | unicode-width | |
|---|---|---|---|
| Version | 0.1.0 | 3.0.0 | 0.2.2 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 3 | 4 | 2 |
| Crate Size | 19KB | 18KB | 283KB |
| Features | 4 | 2 | 4 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | — | 2018 | 2021 |
| MSRV | — | 1.85 | 1.66 |
| Owners | 2 (team) | 1 | 5 |
Links
Quick Verdict
- •unicode-truncate leads with a health score of 65/100, but none of the options score above 80.
- •unicode-width has the most downloads (860.2M), suggesting wider adoption.
- •unicode-width is depended on by 42.3K crates — strongest ecosystem trust.
- •⚠ unicode-width-16, unicode-width have not been updated in over a year.
- •unicode-width-16, unicode-width are pre-1.0 — API may change.