uuidv6

Crates.iouuidv6
lib.rsuuidv6
version0.1.4
sourcesrc
created_at2022-03-17 21:10:00.432446
updated_at2024-12-09 11:44:23.515791
descriptionUUIDv6 implementation
homepagehttps://github.com/jedisct1/rust-uuidv6
repositoryhttps://github.com/jedisct1/rust-uuidv6
max_upload_size
id552048
size7,483
Frank Denis (jedisct1)

documentation

README

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();
Commit count: 10

cargo fmt