Decision Workspace
magic-embed vs magic-db vs pure-magic
Side-by-side comparison of Rust crates
51
magic-embed
experimentalv0.3.2
Proc-macro to embed a compiled magic database
51
magic-db
experimentalv0.4.2
This crate provides a precompiled magic database for file type identification. It allows any program to perform magic file detection without the burden of compiling rules from source.
51
pure-magic
experimentalv0.2.2
Safe Rust re-implementation of libmagic
Core Metrics
| magic-embed | magic-db | pure-magic | |
|---|---|---|---|
| Health Score | 51 | 51 | 51 |
| Total Downloads | 1.2K | 1.2K | 1.1K |
| 30d Downloads | 344 | 333 | 358 |
| Dependents | 16 | 11 | 32 |
| Releases | 11 | 16 | 9 |
| Last Updated | 52d ago | 52d ago | 52d ago |
| Age | 4m | 4m | 4m |
Health Breakdown
magic-embed
Maintenance
16
Quality
13
Community
6
Popularity
4
Documentation
12
magic-db
Maintenance
16
Quality
13
Community
6
Popularity
4
Documentation
12
pure-magic
Maintenance
17
Quality
11
Community
7
Popularity
4
Documentation
12
Technical Details
| magic-embed | magic-db | pure-magic | |
|---|---|---|---|
| Version | 0.3.2 | 0.4.2 | 0.2.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | GPL-3.0 | GPL-3.0 | GPL-3.0 |
| Dependencies | 5 | 2 | 18 |
| Crate Size | 12KB | 580KB | 55KB |
| Features | 0 | 1 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | 1.88.0 | 1.88.0 | 1.88.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •magic-embed leads with a health score of 51/100, but none of the options score above 80.
- •magic-db has the most downloads (1.2K), suggesting wider adoption.