magic
v0.16.7 GrowingHigh level bindings for the `libmagic` C library
Quick Verdict
- !Pre-1.0: API may have breaking changes
- โTrusted by 122 crates
- โTiny footprint (15KB, 2 deps)
- โPermissive license (MIT OR Apache-2.0)
Security
Deep Insights
255.2K downloads in the last 30 days, down 35% from the previous period. May indicate migration to alternatives.
122 crates depend on magic. Reasonable ecosystem adoption, though not yet a core dependency.
Despite being 11+ years old, magic hasn't reached 1.0 yet. Expect potential API changes between versions.
Only 2 direct dependencies. Lean dependency tree means faster builds and lower supply chain risk.
At 15KB, magic is lightweight. Small crate size correlates with focused, well-scoped functionality.
Notable dependents include yara-x, file_type, boreal, malwaredb-server, mime-detective. When high-quality crates choose magic, it's a strong quality signal.
Health Breakdown
Recency, release consistency, active ratio
Yanked ratio, deps, size, maturity, features
Reverse deps, ownership, ecosystem
Downloads, momentum, growth trend
Docs, repo, license, metadata
Download Trend
Top Dependents
Most downloaded crates that depend on magic