auto-cpufreq 3.1.1

Automatic CPU speed & power optimizer for Linux
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// src/bin/auto_cpufreq_gtk.rs
//! GTK frontend binary. Delegates to `auto_cpufreq::gui::app::run_app()` when
//! built with the `gui` feature.

#[cfg(feature = "gui")]
fn main() {
    auto_cpufreq::gui::app::run_app();
}

#[cfg(not(feature = "gui"))]
fn main() {
    eprintln!("GUI support not compiled. Build with --features gui");
    std::process::exit(1);
}