1 2 3 4 5 6 7 8 9 10 11 12
use serde_derive::Deserialize; #[derive(Deserialize, Clone)] pub struct Config {} impl Config { pub const fn new() -> Config { Config {} } } pub static DEF: Config = Config::new();