1 2 3 4 5 6 7 8 9
use std::{collections::HashMap, ffi::OsString, path::PathBuf}; #[derive(Debug)] pub struct Config { pub root: PathBuf, pub hostname: String, pub mappings: HashMap<OsString, String>, pub log: bool, }
1 2 3 4 5 6 7 8 9
use std::{collections::HashMap, ffi::OsString, path::PathBuf}; #[derive(Debug)] pub struct Config { pub root: PathBuf, pub hostname: String, pub mappings: HashMap<OsString, String>, pub log: bool, }