Email me

Crates / cbindgen

Rust crate · real downloads · data Oct 24, 2026

cbindgen downloads, and should you depend on it?

A tool for generating C bindings to Rust code. crates.io · docs.rs · repository

Owned on crates.io by emilio, eqrion · alternatives · is it still maintained?

Feature flags + Cargo.toml picker

EstablishedShould you depend on cbindgen? The data says

Established and steady.

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

215Kreal downloads a day (quiet-day median)
454crates depend on it
5 monthssince the last release (0.29.4)
+2%quiet-day trend vs the field, 90 days
How this verdict is decided (4 rules)
  • Usage: crates.io reverse dependencies (crates that list it as a dependency): 10,000+ = foundational, 1,000+ = widely used, 100+ = established, under 100 = few direct dependents.
  • Direction: the median quiet day in the last 30 days of the window against the first 30, read against the median tracked crate (the whole field moved +39% from late summer to October, so a raw trend says nothing). 10%+ ahead of the field = gaining; 10%+ behind = losing ground; otherwise steady. Steady with no release in 2+ years = quiet for years.
  • Release spikes: the median release-window day against the quiet-day baseline: under 1.15x = no spike, 1.15x to 1.3x = small bumps, 1.3x or more = jumps on release days.
  • Release recency: days since the newest version that was not yanked, from crates.io publish times.
Data: crates.io API, Jul 27, 2026 to Oct 23, 2026, fetched Oct 24, 2026. Downloads are not users: read the baseline as steady use, not a head count.
2026-07-27: 185,0402026-07-28: 202,5122026-07-29: 210,6402026-07-30: 217,2002026-07-31: 186,5102026-08-01: 89,3802026-08-02: 75,4592026-08-03: 189,5282026-08-04: 218,4722026-08-05: 217,6582026-08-06: 174,2172026-08-07: 212,1262026-08-08: 74,2472026-08-09: 70,4932026-08-10: 180,3882026-08-11: 190,4272026-08-12: 203,3012026-08-13: 215,2842026-08-14: 183,9292026-08-15: 93,3282026-08-16: 77,1412026-08-17: 170,8222026-08-18: 213,1202026-08-19: 198,6462026-08-20: 196,1552026-08-21: 201,4232026-08-22: 89,9822026-08-23: 95,7472026-08-24: 200,8692026-08-25: 236,4272026-08-26: 207,8112026-08-27: 224,3172026-08-28: 254,9622026-08-29: 82,6062026-08-30: 85,6672026-08-31: 192,6642026-09-01: 238,0522026-09-02: 252,2532026-09-03: 241,8932026-09-04: 233,6862026-09-05: 96,8952026-09-06: 81,9982026-09-07: 184,5992026-09-08: 278,6342026-09-09: 265,1992026-09-10: 285,7772026-09-11: 253,0462026-09-12: 112,1032026-09-13: 92,8202026-09-14: 247,8702026-09-15: 323,7592026-09-16: 293,5662026-09-17: 343,2712026-09-18: 304,1142026-09-19: 137,3882026-09-20: 107,8882026-09-21: 282,8262026-09-22: 303,7312026-09-23: 304,7372026-09-24: 309,1012026-09-25: 278,5982026-09-26: 116,5212026-09-27: 110,3052026-09-28: 267,2962026-09-29: 266,4622026-09-30: 287,5142026-10-01: 272,2752026-10-02: 270,4162026-10-03: 125,4952026-10-04: 114,7822026-10-05: 263,6342026-10-06: 299,2502026-10-07: 269,0732026-10-08: 272,7782026-10-09: 259,7632026-10-10: 133,8292026-10-11: 126,8352026-10-12: 219,2132026-10-13: 276,8062026-10-14: 286,5812026-10-15: 273,1072026-10-16: 239,1012026-10-17: 114,9612026-10-18: 107,4612026-10-19: 230,1682026-10-20: 275,6502026-10-21: 274,1492026-10-22: 305,9342026-10-23: 284,950

release window (release day + next day)quiet dayquiet-day median · download the 89 days as CSV

The numbers in one paragraphcbindgen got 18,316,611 crates.io downloads from Jul 27, 2026 to Oct 23, 2026 with no new version in that window, so every day is a quiet day: a median of 215,284 a day, about 1,506,988 a week. With no release spikes to remove, its whole count is the steady baseline.

What this means if you're choosing a dependency

  • Used, not everywhere. 454 crates depend on it. Look at how fast its issues get answered before you lean on it.
  • Released this year. The latest version, 0.29.4, is from Jun 9, 2026 (5 months ago).
  • Still pre-1.0 (0.29.4). Under Cargo's semver rules a 0.x minor bump may break you, so pin the minor version (cbindgen = "0.29") and read the changelog on upgrades.
  • Fit check: license MPL-2.0, edition 2021, needs Rust 1.74 or newer (from the latest version's manifest).
  • Its raw count is a fair read. Under 1% of its downloads in the window came from release windows, so the raw number and the baseline (215,284 a day) tell the same story.

Alternatives that do a similar job

Crates that share its crates.io category or keywords, most similar first. Each line is the crate's own description, then how it compares on the same data.

Its place in the dependency graph

cbindgen builds on

Tracked crates its latest version (0.29.4) depends on (optional ones marked).

What the chart says

  • Weekend quiet days ran at 39% of weekday quiet days (96,321 vs 247,870). A dip that deep is the signature of work-week CI pipelines and developers building on weekdays.
  • Biggest day: 343,271 on Sep 17, 2026, a quiet day with no release nearby.

Every number

All-time downloads111,907,720 (rank #867 on crates.io by all-time downloads)
Downloads in the window18,316,611 (Jul 27, 2026 to Oct 23, 2026, 89 days)
Within 2 days of a release0 (0.0%)
Quiet-day median (baseline)215,284 a day; weekdays 247,870, weekends 96,321
Release-adjusted downloads18,316,611 (release-window days capped at the baseline)
Baseline rank#955 of the 1000 crates we track
Quiet-day trend+41% raw, +2% against the median tracked crate (+39%)
Releases in the window0
Versions published, ever106
Latest version0.29.4, published Jun 9, 2026 (license MPL-2.0, edition 2021, MSRV 1.74)
First publishedApr 12, 2017
Reverse dependencies454

How we compute this

crates.io counts every download, including CI runners, mirrors and bots that fetch each new version, so raw counts run high (why, in The Manual). We split the last 89 days into release windows (the day a version of cbindgen was published, plus the next day) and quiet days, and use the median quiet day as the baseline: an upper bound on steady use, never a head count. The method and data come from our study of 90 days of crates.io data from 69 crates, featured in This Week in Rust #674; check any crate live with the real-downloads checker.

Badge for your README

Maintainers can show the baseline in a README. It is optional, updates when we refresh the data, and links back here. Preview, then copy:

README, light

cbindgen real downloads per day badge

README, dark

Publishing a crate of your own? How to publish a Rust crate to crates.io, step by step.

Categories

Sources

Up next

Next in ffi: Next in FFI by real downloads: 211,293 a day, 47 dependents. Few direct dependents and losing ground.os_str_bytesRust crate. Lossless functionality for platform-native strings. Real use: 211K downloads a day on quiet days; 47 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.

Cite this

Free to cite and reuse under CC BY 4.0 with a link back. How it was collected: methods. Spotted an error? Corrections.

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