Decision Workspace
printf-wrap vs enough-ffi vs libffi
Side-by-side comparison of Rust crates
58
printf-wrap
growingv0.2.2
Types and functions for safely wrapping C functions with printf(3)-style format strings and varargs
46
enough-ffi
experimentalv0.4.0
C FFI helpers for the enough cooperative cancellation trait
72
libffi
stablev5.1.0
Rust bindings for libffi
Core Metrics
| printf-wrap | enough-ffi | libffi | |
|---|---|---|---|
| Health Score | 58 | 46 | 72 |
| Total Downloads | 5.5K | 63 | 2.4M |
| 30d Downloads | 46 | 6 | 177.1K |
| Dependents | 1 | 0 | 513 |
| Releases | 4 | 4 | 46 |
| Last Updated | 158d ago | 36d ago | 86d ago |
| Age | 3y 7m | 2m | 9y 9m |
Health Breakdown
printf-wrap
Maintenance
10
Quality
17
Community
12
Popularity
4
Documentation
15
enough-ffi
Maintenance
11
Quality
15
Community
6
Popularity
2
Documentation
12
libffi
Maintenance
13
Quality
23
Community
16
Popularity
8
Documentation
12
Technical Details
| printf-wrap | enough-ffi | libffi | |
|---|---|---|---|
| Version | 0.2.2 | 0.4.0 | 5.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT/Apache-2.0 |
| Dependencies | 2 | 1 | 3 |
| Crate Size | 19KB | 7KB | 33KB |
| Features | 3 | 1 | 5 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.64.0 | 1.56 | 1.78 |
| Owners | 2 (team) | 1 | 4 |
Links
Quick Verdict
- •libffi leads with a health score of 72/100, but none of the options score above 80.
- •libffi is depended on by 513 crates — strongest ecosystem trust.
- •printf-wrap, enough-ffi are pre-1.0 — API may change.