rust-cpuid
Rust bindings for libpcuid CPU detection and feature extraction library.
Usage
First - download, and build libcpuid as described in the readme. Install it by running make install
(you may want to run ldconfig
afterwards).
Add to your Cargo.toml
:
[]
= "*"
Add extern crate cpuid
to your crate root and you're good to go! For example:
extern crate cpuid;
Resources
Author
- Zbigniew Siciarz (zbigniew at siciarz dot net)
License
This work is released under the MIT license. A copy of the license is provided in the LICENSE file.