Decision Workspace
file-format vs mimetype-detector vs mediatype
Side-by-side comparison of Rust crates
70
file-format
growingv0.29.0
Crate for determining the file format of a given file or stream.
62
mimetype-detector
experimentalv0.3.9
Fast, accurate, and thread-safe MIME type detection for ~500 file formats with zero dependencies
61
mediatype
growingv0.21.0
MIME Media-type parsing
Core Metrics
| file-format | mimetype-detector | mediatype | |
|---|---|---|---|
| Health Score | 70 | 62 | 61 |
| Total Downloads | 1.2M | 39.5K | 5.3M |
| 30d Downloads | 123.2K | 8.8K | 448.5K |
| Dependents | 478 | 12 | 905 |
| Releases | 34 | 20 | 51 |
| Last Updated | 59d ago | 11d ago | 209d ago |
| Age | 4y 7m | 10m | 4y 3m |
Health Breakdown
file-format
Maintenance
16
Quality
20
Community
12
Popularity
7
Documentation
15
mimetype-detector
Maintenance
19
Quality
14
Community
9
Popularity
5
Documentation
15
mediatype
Maintenance
11
Quality
15
Community
14
Popularity
8
Documentation
13
Technical Details
| file-format | mimetype-detector | mediatype | |
|---|---|---|---|
| Version | 0.29.0 | 0.3.9 | 0.21.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT/Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 0 | 1 | 2 |
| Crate Size | 57KB | 105KB | 61KB |
| Features | 13 | 1 | 0 |
| 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 70/100, but none of the options score above 80.
- •mediatype has the most downloads (5.3M), suggesting wider adoption.
- •mediatype is depended on by 905 crates — strongest ecosystem trust.