Improved config stuff

This commit is contained in:
2025-08-29 19:41:46 +02:00
parent 494ecd6204
commit 6797007526
8 changed files with 148 additions and 4 deletions
+5 -2
View File
@@ -10,11 +10,14 @@ pub use anyhow::Result;
use crate::plugin::{Plugin, PluginInstance};
pub struct ServerConfig {}
#[derive(serde::Serialize, serde::Deserialize)]
pub struct ServerConfig {
port: u16,
}
impl Default for ServerConfig {
fn default() -> Self {
Self {}
Self { port: 7080 }
}
}