rustio rustio.net
75

libffi

v5.2.0 Stable

Rust bindings for libffi

MIT OR Apache-2.0 Edition 2021 MSRV 1.78
Development tools::FFI #ffi#closure#c#libffi

Quick Verdict

  • ✓Actively maintained (updated 56d ago)
  • ✓Stable API (5.x for 10+ years)
  • ✓Trusted by 660 crates
  • ✓Tiny footprint (36KB, 3 deps)
  • ✓Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
3.7M
Dependents
660
Releases
48
Size
36KB

Deep Insights

📊
Steady growth

270.8K downloads in the last 30 days (9.0K/day), up 20% from the previous period.

🔗
Moderate adoption

660 crates depend on libffi. Reasonable ecosystem adoption, though not yet a core dependency.

✅
Stable for 10+ years

The API has been stable (1.x) for over 10 years with 48 releases. This level of maturity means you can depend on it without worrying about breaking changes.

🪶
Minimal dependencies

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

📐
Compact crate

At 35KB, libffi is lightweight. Small crate size correlates with focused, well-scoped functionality.

🌟
Used by top crates

Notable dependents include deno_ffi, mpi, scryer-prolog, uiua, vl-convert-rs. When high-quality crates choose libffi, it's a strong quality signal.

Health Breakdown

Maintenance 15/25

Recency, release consistency, active ratio

Quality 23/25

Yanked ratio, deps, size, maturity, features

Community 17/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
2K/day avg-100%
05K10K8/229/99/2710/1511/211/19

Top Dependents

Version Adoption

v3.2.0
51%
v5.1.0
32%
v4.1.1
7%
v4.1.2
6%
v4.0.0
5%

Release Timeline

10 releasessince 2023
J
F
M
A
M
J
J
A
S
O
N
D
2023
2
2024
2025
5
2026
3
Less
More

Feature Flags

default =["std"]

std*systemcomplexcheck_only

README

Loading README...

Maintainers

Dependencies
3
direct dependencies
Dependents
660
crates depend on libffi

Similar Crates