0.1.0 |
|
---|
#168 in #uuid
2KB
uuid_macro
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