Email me

Crates / Compare / cc vs pkg-config

Rust crates side by side · data Oct 24, 2026

cc vs pkg-config

Short answerBy steady daily use, cc is bigger: 3,852,250 real downloads a day against 2,394,417 for pkg-config (1.6x). 4,294 crates depend on cc and 1,241 on pkg-config. cc last shipped 1 day ago, pkg-config 2 months ago.

cc

Widely used

Widely used and steady.

4,294 crates depend on it; downloads don't spike on releases.

A build-time dependency for Cargo build scripts to assist in invoking the native C compiler to compile native C code into a static archive to be linked into Rust code.

pkg-config

Widely used

Widely used and steady.

1,241 crates depend on it; downloads don't spike on releases.

A library to run the pkg-config system tool at build time in order to be used in Cargo build scripts.

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

How they relate

Every number, side by side

Same window, same methodccpkg-config
Real downloads a day3,852,2502,394,417
Crates that depend on it4,2941,241
Last release1.10.0, 1 day ago0.3.34, 2 months ago
Trend vs the field-4%+5%
Release-window share23.9%1.7%
Downloads in the window335,134,202218,960,132
All-time downloads1,400,087,136863,828,960
Versions published23047
LicenseMIT OR Apache-2.0MIT OR Apache-2.0
MSRV1.65.01.63
First publishedDec 16, 2014Nov 11, 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 (cc, 4,294 dependents): more eyes, more answered questions, and you may already have it in your tree.
  • Check the release dates against your own pace: cc 1 day ago, pkg-config 2 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