#uuid #sortable #create #byte #size #values #lexically

ord-uuid

Creates lexically sortable uuid values of size 16 bytes

11 releases

0.1.10 Oct 29, 2024
0.1.9 Oct 24, 2024

#1035 in Data structures

Download history 78/week @ 2024-10-07 392/week @ 2024-10-14 165/week @ 2024-10-21 133/week @ 2024-10-28 4/week @ 2024-11-04

772 downloads per month

MIT license

25KB
507 lines

ord-uuid-rs

Creates lexically sortable uuid values of size 16 bytes.

All functions of the OrdUuidGen type that return an OrdUuid will be naturally sortable based on creation time. All bits not related to ensuring uniqueness are shifted to the least significant bits.

Dependencies

~0.8–1.4MB
~27K SLoC