feat: config basics; fmt; small issues

Closes #11
This commit is contained in:
nullishamy 2025-04-23 19:13:03 +01:00
parent 918dcb60f9
commit 005c13e1d4
Signed by: amy
SSH key fingerprint: SHA256:WmV0uk6WgAQvDJlM8Ld4mFPHZo02CLXXP5VkwQ5xtyk
9 changed files with 43 additions and 14 deletions

View file

@ -0,0 +1,11 @@
use serde::{Deserialize, Serialize};
#[derive(Serialize, Deserialize, Debug)]
pub struct ServerConfig {
pub host: String,
}
#[derive(Serialize, Deserialize, Debug)]
pub struct Config {
pub server: ServerConfig,
}

View file

@ -1 +1,2 @@
pub mod ap;
pub mod config;