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