uuid-rs / uuid

Generate and parse UUIDs.

Home Page:https://www.crates.io/crates/uuid

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create UUIDs from two u64

saiintbrisson opened this issue · comments

It would be useful to add a way to create UUIDs out of two u64 (one low and one high).
Something like:

Uuid::from_u64_pair(low, high); // or
Uuid::from((low, high));

It would be also useful to add a way to turn the UUID into a u64 pair.