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

ord-uuid

Creates lexically sortable uuid values of size 16 bytes

11 releases

new 0.1.10 Oct 29, 2024
0.1.9 Oct 24, 2024

#887 in Data structures

Download history 78/week @ 2024-10-07 392/week @ 2024-10-14 165/week @ 2024-10-21

635 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.9–1.4MB
~29K SLoC