Random stuff, testing things, and so on.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

9 lines
174 B

use uuid::Uuid;
fn main() {
let my_uuid = Uuid::new_v4();
println!("{}", &my_uuid);
let (major, _, _, _) = my_uuid.as_fields();
println!("{:x}", &major);
}