Get the number of CPUs on a machine.
# Cargo.toml
[dependencies]
num_cpus = "1.17.0"No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates how to retrieve the number of logical CPUs.
No known issues recorded.
No dependency data recorded yet.