0.1.0 Jun 15, 2019

#168 in #uuid

MIT license

2KB

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.

Dependencies

~1.5MB
~22K SLoC