| Crates.io | uuid_macro |
| lib.rs | uuid_macro |
| version | 0.1.0 |
| created_at | 2019-06-15 08:16:11.479226+00 |
| updated_at | 2019-06-15 08:16:11.479226+00 |
| description | Generate UUIDs at compile time. |
| homepage | |
| repository | https://github.com/lassipulkkinen/uuid_macro |
| max_upload_size | |
| id | 141278 |
| size | 1,730 |
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]);
MIT.