vesys-bank-server/socket-server/src/main.rs

16 lines
259 B
Rust
Raw Normal View History

2022-03-12 15:19:54 +00:00
#[macro_use]
extern crate log;
mod protocol;
mod server;
mod threadpool;
mod commands;
fn main() {
pretty_env_logger::init();
let host = "127.0.0.1:1234";
info!("running on {}", host);
server::run(host, 8).expect("failed to run server");
}