Decision Workspace
textcode vs chardetng vs encoding_rs
Side-by-side comparison of Rust crates
54
textcode
growingv0.3.1
Text encoding/decoding library. Supports: UTF-8, ISO6937, ISO8859, GB2312
67
chardetng
stablev1.0.0
A character encoding detector for legacy Web content
60
encoding_rs
growingv0.8.35
A Gecko-oriented implementation of the Encoding Standard
Core Metrics
| textcode | chardetng | encoding_rs | |
|---|---|---|---|
| Health Score | 54 | 67 | 60 |
| Total Downloads | 80.1K | 7.2M | 395.3M |
| 30d Downloads | 2.3K | 917.2K | 29.4M |
| Dependents | 77 | 648 | 11.5K |
| Releases | 8 | 20 | 62 |
| Last Updated | 161d ago | 56d ago | 578d ago |
| Age | 6y 6m | 6y 11m | 9y 10m |
Health Breakdown
textcode
Maintenance
9
Quality
15
Community
11
Popularity
6
Documentation
13
chardetng
Maintenance
13
Quality
18
Community
14
Popularity
8
Documentation
14
encoding_rs
Maintenance
7
Quality
16
Community
15
Popularity
8
Documentation
14
Technical Details
| textcode | chardetng | encoding_rs | |
|---|---|---|---|
| Version | 0.3.1 | 1.0.0 | 0.8.35 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | Apache-2.0 OR MIT | (Apache-2.0 OR MIT) AND BSD-3-Clause |
| Dependencies | 0 | 7 | 6 |
| Crate Size | 127KB | 58KB | 1.4MB |
| Features | 0 | 2 | 12 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2018 | 2018 |
| MSRV | — | 1.40 | 1.36 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •chardetng leads with a health score of 67/100, but none of the options score above 80.
- •encoding_rs has the most downloads (395.3M), suggesting wider adoption.
- •encoding_rs is depended on by 11.5K crates — strongest ecosystem trust.
- •⚠ encoding_rs has not been updated in over a year.
- •textcode, encoding_rs are pre-1.0 — API may change.