Decision Workspace
encsniff vs bom-strip vs mozjs_utf8_iter
Side-by-side comparison of Rust crates
53
encsniff
experimentalv0.2.0
Detect common non-UTF-8 text encodings from byte-perfect signatures (UTF-8 BOM, UTF-16 BOMs, UTF-7)
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.
61
mozjs_utf8_iter
experimentalv153.4.0
Iterator by char over potentially-invalid UTF-8 in &[u8]
Core Metrics
| encsniff | bom-strip | mozjs_utf8_iter | |
|---|---|---|---|
| Health Score | 53 | 44 | 61 |
| Total Downloads | 609 | 24 | 50.5K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 23 | 0 | 6 |
| Releases | 2 | 1 | 4 |
| Last Updated | 56d ago | 146d ago | 3d ago |
| Age | 3m | 4m | 1m |
Health Breakdown
encsniff
Maintenance
14
Quality
14
Community
10
Popularity
3
Documentation
12
bom-strip
Maintenance
6
Quality
15
Community
6
Popularity
2
Documentation
15
mozjs_utf8_iter
Maintenance
14
Quality
18
Community
10
Popularity
6
Documentation
13
Technical Details
| encsniff | bom-strip | mozjs_utf8_iter | |
|---|---|---|---|
| Version | 0.2.0 | 0.1.0 | 153.4.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | Apache-2.0 OR MIT |
| Dependencies | 1 | 0 | 1 |
| Crate Size | 11KB | 7KB | 15KB |
| Features | 0 | 0 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.56 | 1.74 | — |
| Owners | 1 | 1 | 2 |
Links
Quick Verdict
- •mozjs_utf8_iter leads with a health score of 61/100, but none of the options score above 80.
- •encsniff, bom-strip are pre-1.0 — API may change.