1pub use std::env::*; 2 3pub fn var_true(key: &str) -> bool { 4 matches!(var(key), Ok(v) if v == "1" || v == "true") 5}