initial commit

This commit is contained in:
Guilleag01
2025-02-18 21:30:24 +01:00
commit 4565b9cc3e
7 changed files with 849 additions and 0 deletions

20
src/config.rs Normal file
View File

@@ -0,0 +1,20 @@
use serde::Deserialize;
#[derive(Debug, Deserialize)]
pub struct Config {
pub general: General,
pub build: Build,
}
#[derive(Debug, Deserialize)]
pub struct General {
pub target: String,
pub main: String,
}
#[derive(Debug, Deserialize)]
pub struct Build {
pub build_dir: String,
pub cc: String,
pub cflags: String,
}