JadeSR-origin-DONOTUSE/gameserver/src/main.rs

23 lines
362 B
Rust
Raw Permalink Normal View History

2024-05-09 13:23:01 +00:00
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(())
}