1 2 3 4 5 6 7 8 9
use serde::Deserialize; use std::net::SocketAddr; pub mod server; #[derive(Deserialize)] pub struct Config { bind: SocketAddr, }