Decision Workspace
closure-ffi vs libffi vs libffi-sys
Side-by-side comparison of Rust crates
60
closure-ffi
stablev5.1.2
FFI utility for creating bare function pointers that invoke a closure
72
libffi
stablev5.1.0
Rust bindings for libffi
68
libffi-sys
stablev4.1.0
Raw Rust bindings for libffi
Core Metrics
| closure-ffi | libffi | libffi-sys | |
|---|---|---|---|
| Health Score | 60 | 72 | 68 |
| Total Downloads | 19.0K | 2.4M | 2.4M |
| 30d Downloads | 603 | 177.1K | 177.0K |
| Dependents | 26 | 513 | 216 |
| Releases | 25 | 46 | 51 |
| Last Updated | 47d ago | 86d ago | 86d ago |
| Age | 1y 2m | 9y 9m | 9y 9m |
Health Breakdown
closure-ffi
Maintenance
16
Quality
20
Community
9
Popularity
5
Documentation
10
libffi
Maintenance
13
Quality
23
Community
16
Popularity
8
Documentation
12
libffi-sys
Maintenance
13
Quality
20
Community
15
Popularity
8
Documentation
12
Technical Details
| closure-ffi | libffi | libffi-sys | |
|---|---|---|---|
| Version | 5.1.2 | 5.1.0 | 4.1.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT/Apache-2.0 | MIT/Apache-2.0 |
| Dependencies | 11 | 3 | 1 |
| Crate Size | 57KB | 33KB | 1.5MB |
| Features | 11 | 5 | 5 |
| Yanked % | 0.0% | 0.0% | 3.9% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.78 | 1.78 |
| Owners | 1 | 4 | 3 |
Links
Quick Verdict
- •libffi leads with a health score of 72/100, but none of the options score above 80.
- •libffi-sys has the most downloads (2.4M), suggesting wider adoption.
- •libffi is depended on by 513 crates — strongest ecosystem trust.