num_cpus

crates.io v1.17.0

5,078,861 weekly downloads · 2 Dependencies

Source data as of:

Summary

Get the number of CPUs on a machine.

Install cargo add num_cpus

Registry values

Reproduced verbatim from the official registry, with the source named on each value.

Weekly downloads 5,078,861 Source: crates.io (Rust)
Releases 40 Last release: 2025-05-30 Source: crates.io (Rust)
Dependencies 2 Source: crates.io (Rust)

Description

Get the number of CPUs on a machine.

Registry-supplied description, cleaned to plain text. Source: crates.io (Rust).

Package details

Package
num_cpus
Registry
crates.io
Version
1.17.0
Weekly downloads
5,078,861 (weekly)
Dependencies
2: hermit-abi, libc
Releases
40
Last release
2025-05-30
First published
2015-03-16
Keywords
cpu, cpus, cores
Repository
https://github.com/seanmonstar/num_cpus

Why a field shows "—": A dash means the value is not published by the source registry for that package. Quanteta never fills in a guessed value — a missing field stays blank.

Derived indices (computation method published)

Quanteta-computed from the registry values below. This is a derived index, not a measured registry metric. See the formula on the Data & Sources page.

Q-Vitality Quanteta 42.5 / 100 Maintenance activity index (release cadence + download level).
Q-Trust Quanteta 26.6 / 100 Adoption / stability index (community size + download stability + age).
Q-Risk Quanteta 52.5 / 100 Dependency-surface index. Higher = more risk factors detected.

Data & Sources