Crates.io | dl_uuid |
lib.rs | dl_uuid |
version | 0.4.1 |
source | src |
created_at | 2023-03-08 15:52:27.3516 |
updated_at | 2023-03-14 19:09:31.010706 |
description | Universally unique identifier generator |
homepage | |
repository | https://github.com/DepartureLabsIC/dl_uuid |
max_upload_size | |
id | 804743 |
size | 17,451 |
Modified UUID lib to work with the IC. Original here
use dl_uuid::{set_seed_u64, uuid16};
set_seed_u64(123);
let id_16byte = uuid16();
// 1859d40f-2c26-22ce-da23-33be037553d0
println!("{}", id_16byte);