Email me

Crates / Compare / bindgen vs cbindgen

Rust crates side by side · data Oct 24, 2026

bindgen vs cbindgen

Short answerBy steady daily use, bindgen is bigger: 1,018,499 real downloads a day against 215,284 for cbindgen (4.7x). 3,072 crates depend on bindgen and 454 on cbindgen. bindgen last shipped 46 days ago, cbindgen 5 months ago.

bindgen

Widely used

Widely used and steady.

3,072 crates depend on it; downloads don't spike on releases.

Automatically generates Rust FFI bindings to C and C++ libraries.

cbindgen

Established

Established and steady.

454 crates depend on it; no release in the last 90 days, so its count is all steady use.

A tool for generating C bindings to Rust code.

bindgencbindgen · 100% = that crate's normal quiet day, so a spike to 300% is triple its usual traffic

Every number, side by side

Same window, same methodbindgencbindgen
Real downloads a day1,018,499215,284
Crates that depend on it3,072454
Last release0.73.2, 46 days ago0.29.4, 5 months ago
Trend vs the field-2%+2%
Release-window share3.8%0.0%
Downloads in the window91,040,17418,316,611
All-time downloads433,444,943111,907,720
Versions published129106
LicenseBSD-3-ClauseMPL-2.0
MSRV1.71.01.74
First publishedNov 21, 2014Apr 12, 2017

Which to pick

  • Downloads tell you what is common, not what fits. Each crate's own description above says what it is for; when the jobs differ, pick by the job.
  • When both fit, prefer the one more crates depend on (bindgen, 3,072 dependents): more eyes, more answered questions, and you may already have it in your tree.
  • Check the release dates against your own pace: bindgen 46 days ago, cbindgen 5 months ago.

Also in this space

Method

Real downloads = the median day with no release that day or the day before, from the crates.io API (Jul 27, 2026 to Oct 23, 2026). Raw crates.io counts include CI and bots and run high (why); the method is from our 90-day study.

Up next

Another comparison: Same method, same window. Foundational and steady vs widely used and steady.reqwest vs ureqRead 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