Decision Workspace
utf16_iter vs utf8_iter vs chardetng
Side-by-side comparison of Rust crates
56
utf16_iter
growingv1.0.5
Iterator by char over potentially-invalid UTF-16 in &[u16]
58
utf8_iter
growingv1.0.4
Iterator by char over potentially-invalid UTF-8 in &[u8]
67
chardetng
stablev1.0.0
A character encoding detector for legacy Web content
Core Metrics
| utf16_iter | utf8_iter | chardetng | |
|---|---|---|---|
| Health Score | 56 | 58 | 67 |
| Total Downloads | 143.2M | 310.8M | 7.2M |
| 30d Downloads | 13.4M | 42.9M | 917.2K |
| Dependents | 34 | 148 | 648 |
| Releases | 6 | 5 | 20 |
| Last Updated | 906d ago | 906d ago | 56d ago |
| Age | 3y 11m | 4y 1m | 6y 11m |
Health Breakdown
utf16_iter
Maintenance
4
Quality
21
Community
10
Popularity
8
Documentation
13
utf8_iter
Maintenance
4
Quality
21
Community
12
Popularity
8
Documentation
13
chardetng
Maintenance
13
Quality
18
Community
14
Popularity
8
Documentation
14
Technical Details
| utf16_iter | utf8_iter | chardetng | |
|---|---|---|---|
| Version | 1.0.5 | 1.0.4 | 1.0.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | Apache-2.0 OR MIT | Apache-2.0 OR MIT | Apache-2.0 OR MIT |
| Dependencies | 0 | 0 | 7 |
| Crate Size | 10KB | 10KB | 58KB |
| Features | 0 | 0 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2018 |
| MSRV | — | — | 1.40 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •chardetng leads with a health score of 67/100, but none of the options score above 80.
- •utf8_iter has the most downloads (310.8M), suggesting wider adoption.
- •chardetng is depended on by 648 crates — strongest ecosystem trust.
- •⚠ utf16_iter, utf8_iter have not been updated in over a year.