cpuinfo-rs
Thin and slightly opinionated wrapper around cpuinfo.
Usage
Add this to your Cargo.toml:
[]
= "0.7.0"
use CpuInfo;
let info = new;
dbg!;
Thin and slightly opinionated wrapper around cpuinfo.
Add this to your Cargo.toml:
[dependencies]
cpuinfo-rs = "0.7.0"
use cpuinfo_rs::CpuInfo;
let info = CpuInfo::new();
dbg!(info.processors());