#bindings #linux #cpupower

cpufreq

Rust interface to the linux cpufreq library

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

#212 in FFI

Download history 4/week @ 2023-11-02 10/week @ 2023-11-09 2/week @ 2023-11-16 13/week @ 2023-11-23 16/week @ 2023-11-30 1/week @ 2023-12-07 7/week @ 2023-12-14 13/week @ 2023-12-21 2/week @ 2023-12-28 1/week @ 2024-01-04 1/week @ 2024-01-11 6/week @ 2024-01-18 14/week @ 2024-01-25 13/week @ 2024-02-01 15/week @ 2024-02-08 78/week @ 2024-02-15

125 downloads per month

MIT/Apache

33KB
883 lines

Rust bindings for cpufreq library

Build Status

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

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

~80KB