Decision Workspace
unicode-bom vs file-content vs utf-8-validate
Side-by-side comparison of Rust crates
57
unicode-bom
growingv2.0.3
Unicode byte-order mark detection for files and byte arrays.
41
file-content
growingv0.3.1
A library for working with files and common text data encodings.
38
utf-8-validate
growingv0.0.0
Validate UTF-8 encoding.
Core Metrics
| unicode-bom | file-content | utf-8-validate | |
|---|---|---|---|
| Health Score | 57 | 41 | 38 |
| Total Downloads | 31.3M | 6.3K | 1.5K |
| 30d Downloads | 2.7M | 6 | 3 |
| Dependents | 179 | 0 | 0 |
| Releases | 13 | 4 | 1 |
| Last Updated | 865d ago | 730d ago | 797d ago |
| Age | 7y 5m | 2y | 2y 2m |
Health Breakdown
unicode-bom
Maintenance
4
Quality
21
Community
12
Popularity
8
Documentation
12
file-content
Maintenance
5
Quality
15
Community
6
Popularity
5
Documentation
10
utf-8-validate
Maintenance
1
Quality
16
Community
6
Popularity
4
Documentation
11
Technical Details
| unicode-bom | file-content | utf-8-validate | |
|---|---|---|---|
| Version | 2.0.3 | 0.3.1 | 0.0.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | Apache-2.0 | MIT | MIT-0 |
| Dependencies | 0 | 3 | 0 |
| Crate Size | 11KB | 11KB | 2KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2021 | — |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •unicode-bom leads with a health score of 57/100, but none of the options score above 80.
- •unicode-bom is depended on by 179 crates — strongest ecosystem trust.
- •⚠ unicode-bom, file-content, utf-8-validate have not been updated in over a year.
- •file-content, utf-8-validate are pre-1.0 — API may change.