Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

lassipulkkinen/uuid_macro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

uuid_macro

Crates.io Docs.rs License

Generate UUIDs at compile time.

use uuid_macro::uuid_v4;

let mut uuids = Vec::new();

for _ in 0..2 {
    uuids.push(uuid_v4!());
}

assert_eq!(uuids[0], uuids[1]);

License

MIT.

About

Generate UUIDs at compile time.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages