vesys-bank-server/socket-server/src/main.rs
Sebastian Hugentobler dac95b7dae
Implement the http variant of the bank server.
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.
2022-03-18 19:35:34 +01:00

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");
}