Configuration

The service configuration path is /etc/fancy/config.toml. It should not be modified manually.


#![allow(unused)]
fn main() {
#[derive(Debug, Serialize, Deserialize, Default)]
/// Stores the service configuration which can be written to the disk.
pub(crate) struct ServiceConfig {
    pub ec_access_mode: ECAccessMode,
    pub selected_fan_config: String,
    pub auto: bool,
    pub target_fans_speeds: Vec<f64>,
    #[serde(default)]
    pub temp_compute: TempComputeMethod,
    #[serde(default)]
    pub check_control_config: bool,
}
}