Decision Workspace
pure-magic vs magic-rs vs libmagic-rs
Side-by-side comparison of Rust crates
51
pure-magic
experimentalv0.4.1
Safe Rust re-implementation of libmagic
35
magic-rs
experimentalv0.1.0
Safe Rust re-implementation of libmagic
52
libmagic-rs
experimentalv0.12.7
A pure-Rust implementation of libmagic for file type identification
Core Metrics
| pure-magic | magic-rs | libmagic-rs | |
|---|---|---|---|
| Health Score | 51 | 35 | 52 |
| Total Downloads | 10.3K | 1.2K | 3.8K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 56 | 6 | 0 |
| Releases | 17 | 1 | 28 |
| Last Updated | 11d ago | 329d ago | 5d ago |
| Age | 10m | 10m | 7m |
Health Breakdown
pure-magic
Maintenance
18
Quality
8
Community
8
Popularity
5
Documentation
12
magic-rs
Maintenance
3
Quality
11
Community
5
Popularity
4
Documentation
12
libmagic-rs
Maintenance
19
Quality
8
Community
6
Popularity
4
Documentation
15
Technical Details
| pure-magic | magic-rs | libmagic-rs | |
|---|---|---|---|
| Version | 0.4.1 | 0.1.0 | 0.12.7 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | GPL-3.0 OR BSD-2-Clause | GPL-3.0 | Apache-2.0 |
| Dependencies | 18 | 18 | 27 |
| Crate Size | 72KB | 51KB | 1.2MB |
| Features | 0 | 0 | 0 |
| Yanked % | 5.9% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | 1.88.0 | 1.87.0 | 1.89 |
| 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.
- •pure-magic has the most downloads (10.3K), suggesting wider adoption.