use once_cell::sync::OnceCell; use std::{net::SocketAddr, path::PathBuf}; pub static CF: OnceCell = OnceCell::new(); #[derive(Clone, Debug)] pub struct Config { pub strict: bool, pub bind: SocketAddr, pub path: String, pub user: String, pub pass: Option, pub crt: Option, pub key: Option, }