use std::time::{SystemTime, UNIX_EPOCH}; #[allow(dead_code)] pub fn get_time() -> u64 { SystemTime::now() .duration_since(UNIX_EPOCH) .expect("Time went backwards") .as_secs() }