6 releases
Uses old Rust 2015
0.1.6 | Nov 17, 2016 |
---|---|
0.1.5 | Nov 11, 2016 |
0.1.4 | Oct 14, 2015 |
0.1.3 | Sep 25, 2015 |
0.1.0 | Sep 16, 2015 |
#661 in #ffi
33KB
883 lines
Rust bindings for cpufreq library
Brief description
This is simple rust class based interface to the cpufreq library. It's far from being perfect, but still usable. It's unittested on the real system with real libcpufreq and with a mock library.
Requirements
To build cpupower rust library you need either libcpupower or libcpufreq and rust 1.2.0 or higher.
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
lib.rs
:
Rust port of cpufreq library.
Library bindings generated from this headers using rust-bindgen tool.
The main entity to be used is Cpu
struct.
Dependencies
~82KB