Decision Workspace
unicode_clusters vs unicode-segmentation vs unicode_reader
Side-by-side comparison of Rust crates
35
unicode_clusters
growingv0.1.2
This crate provides variable width unicode characters as single items, allowing for array like indexing etc.
69
unicode-segmentation
stablev1.13.2
This crate provides Grapheme Cluster, Word and Sentence boundaries according to Unicode Standard Annex #29 rules.
57
unicode_reader
growingv1.0.2
Adaptors which wrap byte-oriented readers and yield the UTF-8 data as Unicode code points or grapheme clusters.
Core Metrics
| unicode_clusters | unicode-segmentation | unicode_reader | |
|---|---|---|---|
| Health Score | 35 | 69 | 57 |
| Total Downloads | 3.9K | 335.5M | 379.7K |
| 30d Downloads | 6 | 23.8M | 46.6K |
| Dependents | 0 | 12.0K | 118 |
| Releases | 3 | 26 | 5 |
| Last Updated | 1569d ago | 1d ago | 1589d ago |
| Age | 4y 3m | 10y 11m | 9y 6m |
Health Breakdown
unicode_clusters
Maintenance
4
Quality
15
Community
3
Popularity
4
Documentation
9
unicode-segmentation
Maintenance
17
Quality
17
Community
16
Popularity
8
Documentation
11
unicode_reader
Maintenance
9
Quality
20
Community
9
Popularity
7
Documentation
12
Technical Details
| unicode_clusters | unicode-segmentation | unicode_reader | |
|---|---|---|---|
| Version | 0.1.2 | 1.13.2 | 1.0.2 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | MIT/Apache-2.0 |
| Dependencies | 1 | 3 | 2 |
| Crate Size | 3KB | 112KB | 12KB |
| Features | 0 | 1 | 0 |
| Yanked % | 0.0% | 7.7% | 0.0% |
| Edition | 2018 | 2018 | 2018 |
| MSRV | — | 1.85.0 | — |
| Owners | 1 | 6 | 1 |
Links
Quick Verdict
- •unicode-segmentation leads with a health score of 69/100, but none of the options score above 80.
- •unicode-segmentation is depended on by 12.0K crates — strongest ecosystem trust.
- •⚠ unicode_clusters, unicode_reader have not been updated in over a year.
- •unicode_clusters is pre-1.0 — API may change.