My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/games/rstnode/rst-server/src/main.rs

23 lines
460 B

//! RST Node game server
// Remove the warning spam
#![allow(warnings)]
#[macro_use]
extern crate tracing;
pub(crate) mod loader;
pub(crate) mod constants;
pub(crate) mod log;
use rst_core::net::Endpoint;
#[async_std::main]
async fn main() {
log::initialise();
let addr = format!("{}:{}", constants::DEFAULT_BIND, constants::DEFAULT_PORT);
let serv = Endpoint::new(addr.as_str()).await;
// serv.listen().await;
// net::run().await;
}