Decision Workspace
split-first-char vs split-char-from-str vs utf8-width
Side-by-side comparison of Rust crates
49
split-first-char
growingv2.0.1
This crate is DEPRECATED, use split-char-from-str instead
42
split-char-from-str
growingv0.0.0
A small utility to split a string into the first or last character (type `char`) and the rest (type `&str`)
58
utf8-width
growingv0.1.8
To determine the width of a UTF-8 character by providing its first byte.
Core Metrics
| split-first-char | split-char-from-str | utf8-width | |
|---|---|---|---|
| Health Score | 49 | 42 | 58 |
| Total Downloads | 8.5K | 1.5K | 48.4M |
| 30d Downloads | 406 | 56 | 4.3M |
| Dependents | 1 | 2 | 135 |
| Releases | 5 | 1 | 9 |
| Last Updated | 525d ago | 525d ago | 124d ago |
| Age | 2y 11m | 1y 5m | 5y 9m |
Health Breakdown
split-first-char
Maintenance
5
Quality
20
Community
6
Popularity
5
Documentation
13
split-char-from-str
Maintenance
2
Quality
16
Community
7
Popularity
4
Documentation
13
utf8-width
Maintenance
11
Quality
15
Community
12
Popularity
8
Documentation
12
Technical Details
| split-first-char | split-char-from-str | utf8-width | |
|---|---|---|---|
| Version | 2.0.1 | 0.0.0 | 0.1.8 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 0 | 0 | 1 |
| Crate Size | 2KB | 3KB | 3KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | — | 1.56 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •utf8-width leads with a health score of 58/100, but none of the options score above 80.
- •utf8-width is depended on by 135 crates — strongest ecosystem trust.
- •⚠ split-first-char, split-char-from-str have not been updated in over a year.
- •split-char-from-str, utf8-width are pre-1.0 — API may change.