Sebastian Hugentobler
dac95b7dae
During that process, many shortcomings with the socket server and the bank lib were fixed. I am aware a massive commit like this is not ideal.
16 lines
259 B
Rust
16 lines
259 B
Rust
#[macro_use]
|
|
extern crate log;
|
|
|
|
mod commands;
|
|
mod protocol;
|
|
mod server;
|
|
mod threadpool;
|
|
|
|
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");
|
|
}
|