wip: config

This commit is contained in:
2026-03-06 11:22:31 +00:00
parent 3ea1e2f42e
commit af791ad1e9
6 changed files with 536 additions and 15 deletions

13
src/config.rs Normal file
View File

@@ -0,0 +1,13 @@
use serde::{Deserialize, Serialize};
use toml::Table;
use toml::map::Map;
#[derive(Serialize, Deserialize)]
pub struct Config {
pub cpu: CpuConf,
}
#[derive(Serialize, Deserialize)]
pub struct CpuConf {
pub comp: Option<Table>,
}