Decision Workspace
magic-db vs magic-embed vs pure-magic
Side-by-side comparison of Rust crates
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
magic-embed
experimentalv0.3.2
Proc-macro to embed a compiled magic database
51
pure-magic
experimentalv0.2.2
Safe Rust re-implementation of libmagic
Core Metrics
| magic-db | magic-embed | pure-magic | |
|---|---|---|---|
| Health Score | 51 | 51 | 51 |
| Total Downloads | 1.2K | 1.2K | 1.1K |
| 30d Downloads | 333 | 344 | 358 |
| Dependents | 11 | 16 | 32 |
| Releases | 16 | 11 | 9 |
| Last Updated | 52d ago | 52d ago | 52d ago |
| Age | 4m | 4m | 4m |
Health Breakdown
magic-db
Maintenance
16
Quality
13
Community
6
Popularity
4
Documentation
12
magic-embed
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-db | magic-embed | pure-magic | |
|---|---|---|---|
| Version | 0.4.2 | 0.3.2 | 0.2.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | GPL-3.0 | GPL-3.0 | GPL-3.0 |
| Dependencies | 2 | 5 | 18 |
| Crate Size | 580KB | 12KB | 55KB |
| Features | 1 | 0 | 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-db leads with a health score of 51/100, but none of the options score above 80.