uuid-rs / uuid

Generate and parse UUIDs.
https://www.crates.io/crates/uuid
Other
987 stars 191 forks source link

Stabilize UUIDv6-v8 support #718

Closed KodrAus closed 10 months ago

KodrAus commented 10 months ago

Closes #523

This PR lets you use the v6, v7, and v8 variants without also having to set the UUID_UNSTABLE environment variable. It means it's now feasible for libraries to use these formats, and for applications to simplify their builds.

I've added a benchmark for v4 vs v7 that users can run if they're interested in the potential impact of switching from fully random to sortable UUIDs.