Cleanup before network implementation

This commit is contained in:
Valère Plantevin
2026-05-04 16:53:14 -04:00
parent 4ec5b98df4
commit cac6c9ac02
9 changed files with 286 additions and 14 deletions

View File

@@ -20,6 +20,7 @@ pub struct QuicConfig {
pub server_port: u16,
pub server_interface: String,
pub server_cert: String,
pub server_key: String,
}
impl Default for AppConfig {
@@ -28,7 +29,8 @@ impl Default for AppConfig {
network : QuicConfig {
server_port: 9000,
server_interface: "0.0.0.0".to_string(),
server_cert: "cert.pem".to_string(),
server_cert: "certs/server.crt".to_string(),
server_key: "certs/server.key".to_string(),
},
simulation: SimulationConfig {
tick_rate_hz: 60,