initial commit
This commit is contained in:
commit
3d9c98eeca
22 changed files with 1075 additions and 0 deletions
17
src/main.rs
Normal file
17
src/main.rs
Normal 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");
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue