Decision Workspace
unicode-bom vs bom-strip vs file-content
Side-by-side comparison of Rust crates
57
unicode-bom
growingv2.0.3
Unicode byte-order mark detection for files and byte arrays.
44
bom-strip
experimentalv0.1.0
Strip UTF-8/16/32 BOM bytes and stray U+FEFF code points from text before parsing or hashing. Zero deps.
41
file-content
growingv0.3.1
A library for working with files and common text data encodings.
Core Metrics
| unicode-bom | bom-strip | file-content | |
|---|---|---|---|
| Health Score | 57 | 44 | 41 |
| Total Downloads | 56.4M | 24 | 6.3K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 204 | 0 | 0 |
| Releases | 13 | 1 | 4 |
| Last Updated | 1061d ago | 146d ago | 926d ago |
| Age | 7y 12m | 4m | 2y 6m |
Health Breakdown
unicode-bom
Maintenance
4
Quality
21
Community
12
Popularity
8
Documentation
12
bom-strip
Maintenance
6
Quality
15
Community
6
Popularity
2
Documentation
15
file-content
Maintenance
5
Quality
15
Community
6
Popularity
5
Documentation
10
Technical Details
| unicode-bom | bom-strip | file-content | |
|---|---|---|---|
| Version | 2.0.3 | 0.1.0 | 0.3.1 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 0 | 0 | 3 |
| Crate Size | 11KB | 7KB | 11KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2021 | 2021 |
| MSRV | — | 1.74 | — |
| 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 204 crates — strongest ecosystem trust.
- •⚠ unicode-bom, file-content have not been updated in over a year.
- •bom-strip, file-content are pre-1.0 — API may change.