blob: d3750603ddeda2143d2ba88c068ae5e0328745de (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// 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
}
|