Decision Workspace
grapheme-utils vs unicode-truncate vs unicode-width
Side-by-side comparison of Rust crates
46
grapheme-utils
growingv0.1.2
Handy utils for working with utf-8 [unicode] Extended Grapheme Clusters
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
| grapheme-utils | unicode-truncate | unicode-width | |
|---|---|---|---|
| Health Score | 46 | 65 | 61 |
| Total Downloads | 714 | 58.4M | 860.2M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 4 | 728 | 42.3K |
| Releases | 2 | 8 | 19 |
| Last Updated | 224d ago | 50d ago | 368d ago |
| Age | 1y 2m | 7y 1m | 11y 6m |
Health Breakdown
grapheme-utils
Maintenance
8
Quality
15
Community
7
Popularity
3
Documentation
13
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
| grapheme-utils | unicode-truncate | unicode-width | |
|---|---|---|---|
| Version | 0.1.2 | 3.0.0 | 0.2.2 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 2 | 4 | 2 |
| Crate Size | 8KB | 18KB | 283KB |
| Features | 0 | 2 | 4 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2018 | 2021 |
| MSRV | — | 1.85 | 1.66 |
| Owners | 1 | 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 has not been updated in over a year.
- •grapheme-utils, unicode-width are pre-1.0 — API may change.