Add config and basic architecture for QUIC

This commit is contained in:
Valère Plantevin
2026-05-04 16:13:40 -04:00
parent 42ab81899c
commit 4ec5b98df4
15 changed files with 246 additions and 2 deletions

View File

@@ -1,3 +1,17 @@
mod transport;
mod config;
use std::sync::Arc;
use bevy::prelude::*;
use crate::config::AppConfig;
fn main() {
println!("Hello, world!");
}
let config = AppConfig::load("config.toml").expect("Failed to load config");
println!("{:?}", config);
App::new()
.insert_resource(config)
.add_plugins(MinimalPlugins)
.add_plugins(transport::ecs::EcsQuicTransportPlugin{})
.run();
}