Skip to content

jedisct1/rust-uuidv6

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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();

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages