Decision Workspace
ffi-closure vs libffi vs libffi-sys
Side-by-side comparison of Rust crates
45
ffi-closure
growingv1.1.0
Send and recevie closures through FFI
72
libffi
stablev5.1.0
Rust bindings for libffi
68
libffi-sys
stablev4.1.0
Raw Rust bindings for libffi
Core Metrics
| ffi-closure | libffi | libffi-sys | |
|---|---|---|---|
| Health Score | 45 | 72 | 68 |
| Total Downloads | 2.9K | 2.4M | 2.4M |
| 30d Downloads | 6 | 177.1K | 177.0K |
| Dependents | 0 | 513 | 216 |
| Releases | 2 | 46 | 51 |
| Last Updated | 684d ago | 86d ago | 86d ago |
| Age | 2y 1m | 9y 9m | 9y 9m |
Health Breakdown
ffi-closure
Maintenance
4
Quality
21
Community
6
Popularity
4
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
| ffi-closure | libffi | libffi-sys | |
|---|---|---|---|
| Version | 1.1.0 | 5.1.0 | 4.1.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | MIT | MIT/Apache-2.0 | MIT/Apache-2.0 |
| Dependencies | 2 | 3 | 1 |
| Crate Size | 6KB | 33KB | 1.5MB |
| Features | 1 | 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.
- •⚠ ffi-closure has not been updated in over a year.