Decision Workspace
file-format vs mediatype vs mimetype-detector
Side-by-side comparison of Rust crates
73
file-format
growingv0.29.0
Crate for determining the file format of a given file or stream.
62
mediatype
growingv0.21.0
MIME Media-type parsing
62
mimetype-detector
experimentalv0.3.7
Fast, accurate, and thread-safe MIME type detection for ~500 file formats with zero dependencies
Core Metrics
| file-format | mediatype | mimetype-detector | |
|---|---|---|---|
| Health Score | 73 | 62 | 62 |
| Total Downloads | 1.0M | 4.3M | 21.9K |
| 30d Downloads | 72.9K | 565.7K | 9.5K |
| Dependents | 424 | 849 | 12 |
| Releases | 34 | 51 | 18 |
| Last Updated | today | 150d ago | 10d ago |
| Age | 4y 5m | 4y 1m | 8m |
Health Breakdown
file-format
Maintenance
19
Quality
20
Community
12
Popularity
7
Documentation
15
mediatype
Maintenance
12
Quality
15
Community
14
Popularity
8
Documentation
13
mimetype-detector
Maintenance
19
Quality
14
Community
9
Popularity
5
Documentation
15
Technical Details
| file-format | mediatype | mimetype-detector | |
|---|---|---|---|
| Version | 0.29.0 | 0.21.0 | 0.3.7 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT/Apache-2.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 0 | 2 | 1 |
| Crate Size | 57KB | 61KB | 102KB |
| Features | 13 | 0 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | 1.85.0 | — | 1.80.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •file-format leads with a health score of 73/100, but none of the options score above 80.
- •mediatype has the most downloads (4.3M), suggesting wider adoption.
- •mediatype is depended on by 849 crates — strongest ecosystem trust.