2 unstable releases
0.5.0 | Jul 9, 2024 |
---|---|
0.4.0 | Jul 9, 2024 |
#1104 in Hardware support
114 downloads per month
7MB
71K
SLoC
cpuinfo-rs title
Thin and slightly opinionated wrapper around cpuinfo.
Usage
Add this to your Cargo.toml:
[dependencies]
cpuinfo-rs = "0.5.0"
use cpuinfo_rs::CpuInfo;
let info = CpuInfo::new();
dbg!(info.processors());