Crates / pyo3-ffi / Alternatives
Rust crate alternatives · data Oct 24, 2026
Alternatives to pyo3-ffi
Short answerThe closest alternatives to pyo3-ffi on crates.io data are bindgen (1M real downloads a day), jni (778K real downloads a day), cbindgen (215K real downloads a day). Of the 8 we list, the most used is linux-raw-sys, and 5 shipped a release in the last year. pyo3-ffi itself gets 814,393 a day with 12 dependents.
Every alternative we found
| Alternative | Real downloads a day | vs pyo3-ffi | Dependents | Last release | Why it is listed | |
|---|---|---|---|---|---|---|
| bindgen Widely used | 1,018,499 | 1.25x | 3,072 | 46d | category FFI, keyword "ffi" | compare |
| jni Established | 778,423 | 0.96x | 469 | 7mo | category API bindings, keyword "ffi" | compare |
| cbindgen Established | 215,284 | 0.26x | 454 | 5mo | category FFI, keyword "ffi" | compare |
| objc2 Widely used | 607,001 | 0.75x | 1,193 | 19d | category API bindings, category FFI | compare |
| objc2-core-foundation Established | 539,144 | 0.66x | 422 | 13mo | category API bindings, category FFI | compare |
| block2 Established | 538,869 | 0.66x | 530 | 13mo | category API bindings, category FFI | compare |
| objc2-foundation Widely used | 520,494 | 0.64x | 1,007 | 13mo | category API bindings, category FFI | compare |
| linux-raw-sys Pulled in | 3,305,436 | 4.06x | 39 | 10mo | keyword "ffi" | compare |
How to choose
- Same job, not the same API. Each line is listed because it shares a crates.io category or keyword with pyo3-ffi; read its description before you swap.
- More dependents means more answered questions and a smaller chance it disappears.
- Check the last release against how fast you need fixes. For pyo3-ffi: is it still maintained?
Rules
Alternatives = tracked crates (top 1000 by downloads) that share a specific crates.io category (2 points each) or keyword (3 points each) with pyo3-ffi, most similar first; its own parts (same name prefix) and crates it depends on or that depend on it are left out, because those are companions, not substitutes. Real downloads = quiet-day median, crates.io data Oct 24, 2026. Built when we find 3 or more.
Up next
The closest alternative: Widely used and steady. 1,018,499 real downloads a day.bindgenRust crate. Automatically generates Rust FFI bindings to C and C++ libraries. Real use: 1M downloads a day on quiet days; 3,072 crates depend on it.Read it next →Also worth your time