Email me

Crates / cbindgen / Alternatives

Rust crate alternatives · data Oct 24, 2026

Alternatives to cbindgen

Short answerThe closest alternatives to cbindgen on crates.io data are bindgen (1M real downloads a day), libc (5M real downloads a day), linux-raw-sys (3.3M real downloads a day). Of the 8 we list, the most used is libc, and 7 shipped a release in the last year. cbindgen itself gets 215,284 a day with 454 dependents.

Every alternative we found

AlternativeReal downloads a dayvs cbindgenDependentsLast releaseWhy it is listed
bindgen Widely used1,018,4994.73x3,07246dcategory External FFI bindings, category FFI, keyword "bindings", keyword "code-generation"side by side
libc Foundational4,964,02123.06x17,3388dcategory External FFI bindings, keyword "bindings", keyword "ffi"compare
linux-raw-sys Pulled in3,305,43615.35x3910mocategory External FFI bindings, keyword "ffi"compare
winapi Widely used1,251,2245.81x1,6036.3ycategory External FFI bindings, keyword "ffi"compare
libsqlite3-sys Established986,5384.58x2293mocategory External FFI bindings, keyword "ffi"compare
security-framework-sys Pulled in934,7754.34x508mocategory External FFI bindings, keyword "ffi"compare
pyo3-build-config Established835,3593.88x15610dcategory FFI, keyword "ffi"compare
pyo3 Widely used817,6093.80x2,31510dcategory FFI, 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 cbindgen; 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 cbindgen: 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 cbindgen, 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 →

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Did this answer your question?

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ