Email me

Crates / Compare / libc vs bindgen

Rust crates side by side · data Oct 24, 2026

libc vs bindgen

Short answerBy steady daily use, libc is bigger: 4,964,021 real downloads a day against 1,018,499 for bindgen (4.9x). 17,338 crates depend on libc and 3,072 on bindgen. libc last shipped 8 days ago, bindgen 46 days ago.

libc

Foundational

Foundational and steady.

17,338 crates depend on it; downloads don't spike on releases.

Raw FFI bindings to platform libraries like libc.

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.

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

How they relate

  • Often used together: 1 tracked crate depend on both (openssl-sys). They are not always either/or.

Every number, side by side

Same window, same methodlibcbindgen
Real downloads a day4,964,0211,018,499
Crates that depend on it17,3383,072
Last release0.2.191, 8 days ago0.73.2, 46 days ago
Trend vs the field-8%-2%
Release-window share4.6%3.8%
Downloads in the window433,879,83491,040,174
All-time downloads1,835,678,620433,444,943
Versions published209129
LicenseMIT OR Apache-2.0BSD-3-Clause
MSRV1.651.71.0
First publishedJan 15, 2015Nov 21, 2014

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 (libc, 17,338 dependents): more eyes, more answered questions, and you may already have it in your tree.
  • Check the release dates against your own pace: libc 8 days ago, bindgen 46 days 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