mirror of
https://git.xeondev.com/reversedrooms/JadeSR.git
synced 2024-12-23 05:31:40 +00:00
23 lines
362 B
Rust
23 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(())
|
||
|
}
|