Decision Workspace
ffi-opaque vs safer-ffi vs deno_bindgen
Side-by-side comparison of Rust crates
51
ffi-opaque
growingv2.0.1
A simple macro to create correct opaque pointers.
59
safer-ffi
growingv0.1.13
Write safer FFI code in Rust without polluting it with unsafe code
53
deno_bindgen
growingv0.8.1
Write high-level Deno FFI libraries in Rust.
Core Metrics
| ffi-opaque | safer-ffi | deno_bindgen | |
|---|---|---|---|
| Health Score | 51 | 59 | 53 |
| Total Downloads | 2.0M | 3.0M | 46.3K |
| 30d Downloads | 72.5K | 135.9K | 420 |
| Dependents | 38 | 970 | 14 |
| Releases | 4 | 38 | 15 |
| Last Updated | 1822d ago | 70d ago | 866d ago |
| Age | 5y 3m | 5y 10m | 4y 5m |
Health Breakdown
ffi-opaque
Maintenance
3
Quality
20
Community
11
Popularity
8
Documentation
9
safer-ffi
Maintenance
15
Quality
13
Community
11
Popularity
8
Documentation
12
deno_bindgen
Maintenance
6
Quality
15
Community
13
Popularity
6
Documentation
13
Technical Details
| ffi-opaque | safer-ffi | deno_bindgen | |
|---|---|---|---|
| Version | 2.0.1 | 0.1.13 | 0.8.1 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 1 | 20 | 3 |
| Crate Size | 3KB | 92KB | 3KB |
| Features | 0 | 19 | 0 |
| Yanked % | 0.0% | 5.3% | 0.0% |
| Edition | 2018 | 2021 | 2021 |
| MSRV | — | 1.72.1 | — |
| Owners | 2 | 1 | 3 |
Links
Quick Verdict
- •safer-ffi leads with a health score of 59/100, but none of the options score above 80.
- •safer-ffi is depended on by 970 crates — strongest ecosystem trust.
- •⚠ ffi-opaque, deno_bindgen have not been updated in over a year.
- •safer-ffi, deno_bindgen are pre-1.0 — API may change.