| Crates.io | uuidv6 |
| lib.rs | uuidv6 |
| version | 0.1.6 |
| created_at | 2022-03-17 21:10:00.432446+00 |
| updated_at | 2025-01-29 21:29:13.174162+00 |
| description | UUIDv6 implementation |
| homepage | https://github.com/jedisct1/rust-uuidv6 |
| repository | https://github.com/jedisct1/rust-uuidv6 |
| max_upload_size | |
| id | 552048 |
| size | 15,271 |
UUIDv6 for Rust
A simple UUIDv6 crate.
let node = uuidv6::Node::new();
let mut st = node.uuidv6().into_iter();
let uid_1 = st.next();
let uid_2 = st.next();
let uid_3 = st.next();
This returns standard UUIDv6 strings.
As an alternative, a 16-byte binary representation of these UUIDs can be produced:
let node = uuidv6::Node::new();
let mut st = node.uuidv6_raw().into_iter();
let uid_1 = st.next();
let uid_2 = st.next();
let uid_3 = st.next();