1 2 3 4 5 6 7 8
use users; lazy_static! { pub static ref NAME: String = users::get_current_username() .unwrap() .into_string() .unwrap(); }