Decision Workspace
closure-ffi vs libffi vs libffi-sys
Side-by-side comparison of Rust crates
55
closure-ffi
growingv5.1.2
FFI utility for creating bare function pointers that invoke a closure
75
libffi
stablev5.2.0
Rust bindings for libffi
71
libffi-sys
stablev4.2.2
Raw Rust bindings for libffi
Core Metrics
| closure-ffi | libffi | libffi-sys | |
|---|---|---|---|
| Health Score | 55 | 75 | 71 |
| Total Downloads | 23.1K | 3.7M | 3.7M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 34 | 660 | 224 |
| Releases | 25 | 48 | 54 |
| Last Updated | 243d ago | 56d ago | 34d ago |
| Age | 1y 9m | 10y 4m | 10y 4m |
Health Breakdown
closure-ffi
Maintenance
10
Quality
21
Community
9
Popularity
5
Documentation
10
libffi
Maintenance
15
Quality
23
Community
17
Popularity
8
Documentation
12
libffi-sys
Maintenance
16
Quality
20
Community
15
Popularity
8
Documentation
12
Technical Details
| closure-ffi | libffi | libffi-sys | |
|---|---|---|---|
| Version | 5.1.2 | 5.2.0 | 4.2.2 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 11 | 3 | 1 |
| Crate Size | 57KB | 36KB | 1.5MB |
| Features | 11 | 5 | 5 |
| Yanked % | 0.0% | 0.0% | 3.7% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.78 | 1.78 |
| Owners | 1 | 4 | 3 |
Links
Quick Verdict
- •libffi leads with a health score of 75/100, but none of the options score above 80.
- •libffi-sys has the most downloads (3.7M), suggesting wider adoption.
- •libffi is depended on by 660 crates — strongest ecosystem trust.