initial commit

This commit is contained in:
Sebastian Hugentobler 2022-03-12 16:19:54 +01:00
commit 3d9c98eeca
Signed by: shu
GPG key ID: BB32CF3CA052C2F0
22 changed files with 1075 additions and 0 deletions

17
src/main.rs Normal file
View file

@ -0,0 +1,17 @@
#[macro_use]
extern crate log;
mod account;
mod bank;
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");
}