// Copyright 2022-2024 Gabriel Bjørnager Jensen. use bowshock::use_mod; use_mod!(pub config); use_mod!(pub error); use_mod!(pub server); use_mod!(pub session); fn main() -> Result<()> { let config = Config::load()?; let result = Server::new(config).run(); if let Err(ref e) = result { eprintln!("unable to run server: {e}"); } result }