Email me

Crates / clang-sys

Rust crate · real downloads · data Oct 24, 2026

clang-sys downloads, and should you depend on it?

Rust bindings for libclang. crates.io · docs · repository

Owned on crates.io by KyleMayes, madsmtm · is it still maintained?

Feature flags + Cargo.toml picker

Pulled inShould you depend on clang-sys? The data says

Few direct dependents and steady.

clang-sys: only 49 crates name it directly; most of its downloads come in through bindgen; downloads don't spike on releases.

834Kreal downloads a day (quiet-day median)
49crates depend on it
3 monthssince the last release (1.9.1)
-3%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: 686,4602026-07-28: 768,0282026-07-29: 787,649 (release window)2026-07-30: 782,630 (release window)2026-07-31: 742,1752026-08-01: 436,8022026-08-02: 359,1412026-08-03: 741,2482026-08-04: 810,1112026-08-05: 812,6652026-08-06: 672,3512026-08-07: 824,2052026-08-08: 393,6232026-08-09: 367,8312026-08-10: 765,1102026-08-11: 801,0572026-08-12: 832,8652026-08-13: 880,0802026-08-14: 805,7072026-08-15: 439,4332026-08-16: 436,0962026-08-17: 767,2832026-08-18: 843,3222026-08-19: 833,7632026-08-20: 916,3412026-08-21: 845,0722026-08-22: 447,0602026-08-23: 417,6602026-08-24: 792,5432026-08-25: 877,7252026-08-26: 883,2882026-08-27: 902,1132026-08-28: 949,3522026-08-29: 463,4332026-08-30: 416,4872026-08-31: 773,0842026-09-01: 870,6872026-09-02: 932,6142026-09-03: 913,4932026-09-04: 816,7482026-09-05: 482,7422026-09-06: 445,6832026-09-07: 670,8202026-09-08: 863,4502026-09-09: 921,7372026-09-10: 886,1572026-09-11: 802,7192026-09-12: 444,0972026-09-13: 400,0652026-09-14: 860,1992026-09-15: 989,5872026-09-16: 890,9522026-09-17: 928,2522026-09-18: 881,0432026-09-19: 498,8982026-09-20: 498,5282026-09-21: 831,9162026-09-22: 874,6822026-09-23: 907,4472026-09-24: 934,1972026-09-25: 857,5252026-09-26: 497,5692026-09-27: 506,4392026-09-28: 960,7272026-09-29: 1,029,8022026-09-30: 983,8172026-10-01: 1,070,2762026-10-02: 995,3092026-10-03: 581,0922026-10-04: 554,9222026-10-05: 944,2782026-10-06: 1,069,9342026-10-07: 1,083,1192026-10-08: 1,129,5772026-10-09: 1,051,6922026-10-10: 659,9142026-10-11: 585,1812026-10-12: 1,034,3782026-10-13: 1,148,0002026-10-14: 1,245,2582026-10-15: 1,145,0312026-10-16: 1,042,0032026-10-17: 585,4672026-10-18: 571,6072026-10-19: 1,117,0192026-10-20: 1,173,1762026-10-21: 1,274,7142026-10-22: 1,333,2182026-10-23: 1,220,647

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

The numbers in one paragraphclang-sys got 71,272,197 crates.io downloads from Jul 27, 2026 to Oct 23, 2026. 2% of them landed within 2 days of one of its 1 release. On the other 87 quiet days it got a median of 833,763 a day, about 5,836,341 a week. Capping release days at that baseline leaves 71,272,197 release-adjusted downloads for the window.

What this means if you're choosing a dependency

  • You rarely add this one yourself. Only 49 crates name it directly; its downloads arrive through bindgen.
  • Actively released. 1.9.1 shipped 3 months ago (Jul 29, 2026).
  • Fit check: license Apache-2.0, edition 2021 (from the latest version's manifest).
  • Compare it by the baseline, not the raw count. 2% of its 71,272,197 downloads in the window landed within 2 days of a release; the steady number is 833,763 a day.

Its place in the dependency graph

Built on clang-sys

1 of the 1000 crates we track depend on it directly (biggest first).

clang-sys builds on

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

What the chart says

  • Weekend quiet days ran at 51% of weekday quiet days (455,246 vs 886,157). A dip that deep is the signature of work-week CI pipelines and developers building on weekdays.
  • Biggest day: 1,333,218 on Oct 22, 2026, a quiet day with no release nearby.

Every number

All-time downloads338,723,326 (rank #389 on crates.io by all-time downloads)
Downloads in the window71,272,197 (Jul 27, 2026 to Oct 23, 2026, 89 days)
Within 2 days of a release1,570,279 (2.2%)
Quiet-day median (baseline)833,763 a day; weekdays 886,157, weekends 455,246
Release-adjusted downloads71,272,197 (release-window days capped at the baseline)
Baseline rank#433 of the 1000 crates we track
Quiet-day trend+34% raw, -3% against the median tracked crate (+39%)
Releases in the window1
Versions published, ever85
Latest version1.9.1, published Jul 29, 2026 (license Apache-2.0, edition 2021)
First publishedDec 22, 2015
Reverse dependencies49

Releases in the window

Each one opens a 2-day release window on the chart.

VersionPublishedDownloads that version got (lifetime)
1.9.1Jul 29, 202619,394,859

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 clang-sys 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

clang-sys 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

No crates.io category set.

Sources

Up next

Next by real downloads: The next crate down the real-downloads ranking: 833,342 a day. Established and steady.unicode-propertiesRust crate. Query character Unicode properties according to UAX #44 and UTR #51. Real use: 833K downloads a day on quiet days; 108 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