Decision Workspace
filemagic vs libmagic-rs vs pure-magic
Side-by-side comparison of Rust crates
44
filemagic
growingv0.13.1
libmagic bindings
52
libmagic-rs
experimentalv0.12.7
A pure-Rust implementation of libmagic for file type identification
51
pure-magic
experimentalv0.4.1
Safe Rust re-implementation of libmagic
Core Metrics
| filemagic | libmagic-rs | pure-magic | |
|---|---|---|---|
| Health Score | 44 | 52 | 51 |
| Total Downloads | 58.5K | 3.8K | 10.3K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 86 | 0 | 56 |
| Releases | 3 | 28 | 17 |
| Last Updated | 731d ago | 5d ago | 11d ago |
| Age | 5y 9m | 7m | 10m |
Health Breakdown
filemagic
Maintenance
4
Quality
14
Community
10
Popularity
6
Documentation
10
libmagic-rs
Maintenance
19
Quality
8
Community
6
Popularity
4
Documentation
15
pure-magic
Maintenance
18
Quality
8
Community
8
Popularity
5
Documentation
12
Technical Details
| filemagic | libmagic-rs | pure-magic | |
|---|---|---|---|
| Version | 0.13.1 | 0.12.7 | 0.4.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | Apache-2.0 | GPL-3.0 OR BSD-2-Clause |
| Dependencies | 6 | 27 | 18 |
| Crate Size | 961KB | 1.2MB | 72KB |
| Features | 3 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 5.9% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | — | 1.89 | 1.88.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •libmagic-rs leads with a health score of 52/100, but none of the options score above 80.
- •filemagic has the most downloads (58.5K), suggesting wider adoption.
- •⚠ filemagic has not been updated in over a year.