0.1.0 Jun 15, 2019

#158 in #uuid


Used in uuid_macro

MIT license

3KB

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