JadeSR-origin-DONOTUSE/gameserver/src/main.rs
2024-05-09 16:23:01 +03:00

22 lines
362 B
Rust

use anyhow::Result;
mod game;
mod net;
mod util;
use common::data::init_assets;
use common::jade_supremacy;
use common::logging::init_tracing;
use game::init_config;
#[tokio::main]
async fn main() -> Result<()> {
jade_supremacy();
init_tracing();
init_config();
init_assets();
net::gateway::listen("0.0.0.0", 23301).await?;
Ok(())
}