Decision Workspace
file-identify vs philiprehberger-mime-detect vs pure-magic
Side-by-side comparison of Rust crates
47
file-identify
experimentalv0.2.0
File identification library for Rust - detects file types based on extensions, shebangs, and content
52
philiprehberger-mime-detect
experimentalv0.1.1
File type detection from content (magic bytes), file extension, and MIME type mapping
51
pure-magic
experimentalv0.2.2
Safe Rust re-implementation of libmagic
Core Metrics
| file-identify | philiprehberger-mime-detect | pure-magic | |
|---|---|---|---|
| Health Score | 47 | 52 | 51 |
| Total Downloads | 1.2K | 21 | 1.1K |
| 30d Downloads | 90 | 21 | 358 |
| Dependents | 0 | 0 | 32 |
| Releases | 3 | 2 | 9 |
| Last Updated | 232d ago | today | 52d ago |
| Age | 7m | 7d | 4m |
Health Breakdown
file-identify
Maintenance
10
Quality
12
Community
6
Popularity
4
Documentation
15
philiprehberger-mime-detect
Maintenance
14
Quality
15
Community
6
Popularity
2
Documentation
15
pure-magic
Maintenance
17
Quality
11
Community
7
Popularity
4
Documentation
12
Technical Details
| file-identify | philiprehberger-mime-detect | pure-magic | |
|---|---|---|---|
| Version | 0.2.0 | 0.1.1 | 0.2.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | GPL-3.0 |
| Dependencies | 8 | 0 | 18 |
| Crate Size | 32KB | 9KB | 55KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2024 |
| MSRV | 1.85.0 | 1.70 | 1.88.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •philiprehberger-mime-detect leads with a health score of 52/100, but none of the options score above 80.
- •file-identify has the most downloads (1.2K), suggesting wider adoption.