blob: fbdd33bb864df08a0204a41ae6f2b37c887756fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
//! RST Node game server
// Remove the warning spam
#![allow(warnings)]
#[macro_use]
extern crate tracing;
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;
}
|