uuid_macro

Crates.iouuid_macro
lib.rsuuid_macro
version0.1.0
sourcesrc
created_at2019-06-15 08:16:11.479226
updated_at2019-06-15 08:16:11.479226
descriptionGenerate UUIDs at compile time.
homepage
repositoryhttps://github.com/lassipulkkinen/uuid_macro
max_upload_size
id141278
size1,730
Lassi Pulkkinen (lassipulkkinen)

documentation

README

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.

Commit count: 4

cargo fmt