Email me

Crates / num_cpus

Rust crate · real downloads · data Oct 24, 2026

num_cpus downloads, and should you depend on it?

Get the number of CPUs on a machine. crates.io · docs · repository

Widely usedShould you depend on num_cpus? The data says

Widely used and steady.

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

1.2Mreal downloads a day (quiet-day median)
2,795crates depend on it
17 monthssince the last release (1.17.0)
-1%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 +36% 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.
1M2026-07-27: 1,053,8422026-07-28: 1,139,0102026-07-29: 1,107,7732026-07-30: 1,077,8702026-07-31: 1,030,7542026-08-01: 658,1322026-08-02: 606,7392026-08-03: 1,066,1152026-08-04: 1,122,7082026-08-05: 1,146,8872026-08-06: 933,9502026-08-07: 1,077,0422026-08-08: 621,5392026-08-09: 592,4702026-08-10: 1,041,7442026-08-11: 1,115,5502026-08-12: 1,127,6172026-08-13: 1,181,6952026-08-14: 1,089,6052026-08-15: 673,8522026-08-16: 685,1992026-08-17: 1,074,8792026-08-18: 1,158,4452026-08-19: 1,122,3972026-08-20: 1,230,0122026-08-21: 1,171,9092026-08-22: 716,4722026-08-23: 708,9092026-08-24: 1,159,4432026-08-25: 1,230,9422026-08-26: 1,243,6152026-08-27: 1,263,0232026-08-28: 1,260,0282026-08-29: 718,3362026-08-30: 645,1592026-08-31: 1,123,0652026-09-01: 1,271,2042026-09-02: 1,360,9022026-09-03: 1,283,9422026-09-04: 1,189,6932026-09-05: 808,2682026-09-06: 744,0972026-09-07: 1,004,1792026-09-08: 1,216,2832026-09-09: 1,256,7682026-09-10: 1,242,7642026-09-11: 1,118,9252026-09-12: 736,5252026-09-13: 646,7902026-09-14: 1,231,8342026-09-15: 1,386,0592026-09-16: 1,240,2102026-09-17: 1,307,6372026-09-18: 1,198,8792026-09-19: 715,6212026-09-20: 749,3872026-09-21: 1,162,5032026-09-22: 1,286,3292026-09-23: 1,334,7652026-09-24: 1,330,0562026-09-25: 1,246,1212026-09-26: 753,8672026-09-27: 779,3812026-09-28: 1,385,0712026-09-29: 1,452,7762026-09-30: 1,455,8432026-10-01: 1,447,6312026-10-02: 1,360,0382026-10-03: 869,1312026-10-04: 826,7722026-10-05: 1,329,1842026-10-06: 1,467,7072026-10-07: 1,511,2302026-10-08: 1,593,3022026-10-09: 1,486,2062026-10-10: 1,004,4712026-10-11: 895,0272026-10-12: 1,363,8732026-10-13: 1,577,9342026-10-14: 1,649,4062026-10-15: 1,560,2672026-10-16: 1,463,9282026-10-17: 909,2752026-10-18: 854,6192026-10-19: 1,504,9572026-10-20: 1,636,9712026-10-21: 1,741,7682026-10-22: 1,821,5462026-10-23: 1,683,819Jul 27Aug 1Sep 1Oct 1

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

The numbers in one paragraphnum_cpus got 101,432,468 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 1,159,443 a day, about 8,116,101 a week. With no release spikes to remove, its whole count is the steady baseline.

What this means if you're choosing a dependency

  • Well trodden. 2,795 crates depend on it, so common problems tend to have public answers and breaking changes get noticed fast.
  • No release in over a year (last: 1.17.0, May 30, 2025). Fine for a finished crate; check open issues and the latest commit before relying on it.
  • Fit check: license MIT OR Apache-2.0 (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 (1,159,443 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

num_cpus builds on

Tracked crates its latest version (1.17.0) depends on.

What the chart says

  • Weekend quiet days ran at 58% of weekday quiet days (727,430 vs 1,243,615). A dip that deep is the signature of work-week CI pipelines and developers building on weekdays.
  • Biggest day: 1,821,546 on Oct 22, 2026, a quiet day with no release nearby.

Every number

All-time downloads640,137,341 (rank #214 on crates.io by all-time downloads)
Downloads in the window101,432,468 (Jul 27, 2026 to Oct 23, 2026, 89 days)
Within 2 days of a release0 (0.0%)
Quiet-day median (baseline)1,159,443 a day; weekdays 1,243,615, weekends 727,430
Release-adjusted downloads101,432,468 (release-window days capped at the baseline)
Baseline rank#289 of the 300 crates we track
Quiet-day trend+35% raw, -1% against the median tracked crate (+36%)
Releases in the window0
Versions published, ever40
Latest version1.17.0, published May 30, 2025 (license MIT OR Apache-2.0)
First publishedMar 16, 2015
Reverse dependencies2,795

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 num_cpus 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

num_cpus 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

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.

Up next

Next by real downloads: The next crate down the real-downloads ranking: 1,146,485 a day. Few direct dependents and steady.hermit-abiRust crate. Hermit system calls definitions. Real use: 1.1M downloads a day on quiet days; 10 crates depend on it.Read it next →

Also worth your time

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