cpuinfo-rs 0.7.0

Rust bindings for `cpuinfo`
Documentation

cpuinfo-rs

Actions Status Latest version Documentation MSRV Contributor Covenant

Banner

Thin and slightly opinionated wrapper around cpuinfo.

Usage

Add this to your Cargo.toml:

[dependencies]
cpuinfo-rs = "0.7.0"
use cpuinfo_rs::CpuInfo;

let info = CpuInfo::new();
dbg!(info.processors());