1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
pub mod addon; pub mod instance; pub mod lang; pub mod modifications; pub mod pkg; pub mod versions; pub mod util { /// Converts "yes" or "no" to a boolean pub fn yes_no(string: &str) -> Option<bool> { match string { "yes" => Some(true), "no" => Some(false), _ => None, } } }