Decision Workspace
unicode_names2 vs unicode-segmentation vs unicode-width
Side-by-side comparison of Rust crates
55
unicode_names2
growingv2.0.0
Map characters to and from their name given in the Unicode standard. This goes to great lengths to be as efficient as possible in both time and space, with the full bidirectional tables weighing barely 500 KB but still offering O(1)* look-up in both directions. (*more precisely, O(length of name).)
69
unicode-segmentation
stablev1.13.2
This crate provides Grapheme Cluster, Word and Sentence boundaries according to Unicode Standard Annex #29 rules.
64
unicode-width
growingv0.2.2
Determine displayed width of `char` and `str` types according to Unicode Standard Annex #11 rules.
Core Metrics
| unicode_names2 | unicode-segmentation | unicode-width | |
|---|---|---|---|
| Health Score | 55 | 69 | 64 |
| Total Downloads | 7.5M | 335.5M | 518.8M |
| 30d Downloads | 1.3M | 23.8M | 39.4M |
| Dependents | 245 | 12.0K | 20.5K |
| Releases | 15 | 26 | 19 |
| Last Updated | 281d ago | 1d ago | 172d ago |
| Age | 7y 9m | 10y 11m | 10y 11m |
Health Breakdown
unicode_names2
Maintenance
7
Quality
17
Community
9
Popularity
8
Documentation
14
unicode-segmentation
Maintenance
17
Quality
17
Community
16
Popularity
8
Documentation
11
unicode-width
Maintenance
9
Quality
16
Community
19
Popularity
8
Documentation
12
Technical Details
| unicode_names2 | unicode-segmentation | unicode-width | |
|---|---|---|---|
| Version | 2.0.0 | 1.13.2 | 0.2.2 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | (MIT OR Apache-2.0) AND Unicode-DFS-2016 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 5 | 3 | 2 |
| Crate Size | 333KB | 112KB | 283KB |
| Features | 4 | 1 | 4 |
| Yanked % | 6.7% | 7.7% | 0.0% |
| Edition | 2018 | 2018 | 2021 |
| MSRV | 1.63.0 | 1.85.0 | 1.66 |
| Owners | 1 | 6 | 5 |
Links
Quick Verdict
- •unicode-segmentation leads with a health score of 69/100, but none of the options score above 80.
- •unicode-width has the most downloads (518.8M), suggesting wider adoption.
- •unicode-width is depended on by 20.5K crates — strongest ecosystem trust.
- •unicode-width is pre-1.0 — API may change.