#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

#1073 in Data structures

36 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