use uid::Uuid; pub fn gerate_uuid() -> String { let my_uuid = Uuid::new_v4(); format!("{}", my_uuid).replacen("-", "", 4) } fn main() { println!("{}",gerate_uuid()) }