rustio rustio.net
64

magic-sys

v0.4.3 Growing

Declarations for the `libmagic` C library

MIT OR Apache-2.0 Edition 2021 MSRV 1.64
External FFI bindingsNo standard library #magic#file#bindings#ffi

Quick Verdict

  • โœ“Actively maintained (updated 6d ago)
  • !Pre-1.0: API may have breaking changes
  • โœ“Tiny footprint (7KB, 2 deps)
  • โœ“Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
2.1M
Dependents
39
Releases
21
Size
7KB

Deep Insights

๐Ÿ“ˆ
Strong growth momentum

474.5K downloads in the last 30 days (15.8K/day), up 87% from the previous period.

๐Ÿ”ฌ
Pre-1.0 for over a year

Despite being 11+ years old, magic-sys hasn't reached 1.0 yet. Expect potential API changes between versions.

๐Ÿชถ
Minimal dependencies

Only 2 direct dependencies. Lean dependency tree means faster builds and lower supply chain risk.

๐Ÿ“
Compact crate

At 7KB, magic-sys is lightweight. Small crate size correlates with focused, well-scoped functionality.

๐ŸŒŸ
Used by top crates

Notable dependents include magic, loopy, assemblyline-server, mojique. When high-quality crates choose magic-sys, it's a strong quality signal.

Health Breakdown

Maintenance 16/25

Recency, release consistency, active ratio

Quality 18/25

Yanked ratio, deps, size, maturity, features

Community 10/20

Reverse deps, ownership, ecosystem

Popularity 8/15

Downloads, momentum, growth trend

Documentation 12/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
9K/day avg+228%
010K20K30K12/291/162/32/213/113/28

Top Dependents

Version Adoption

v0.3.0
98%
v0.2.1
1%
v0.2.0
1%
v0.3.0-alpha.3
0%
v0.0.8
0%

Release Timeline

21 releasessince 2014
J
F
M
A
M
J
J
A
S
O
N
D
2014
6
2015
2
2016
2
2017
2018
2019
2020
1
2021
3
2022
1
2023
2024
2025
5
2026
1
Less
More

Feature Flags

default =["pkg-config", "vcpkg"]

v5-40v5-44v5-45v5-46

README

Loading README...

Maintainers

Dependencies
2
direct dependencies
Dependents
39
crates depend on magic-sys

Similar Crates