1 stable release
1.0.0 | Oct 21, 2024 |
---|
#1725 in Encoding
8KB
119 lines
uuid32
Uuids formatted as Strings in Crockford base32 in Rust. Primarily for easy to copy ids in URLs, while retaining Uuid benefits.
In short, it just replaces the canonical hexadecimal formatting for displaying Uuids.
Just use Uuid32
anywhere you might otherwise use Uuid
and it will pass the enclosed Uuid as a shorter String in json, display it more compactly in logs, etc.
In libraries and applications that use Uuid32s for talking to a postgres database, add feature postgres
.
Linking the crate and the documentation for reference.
Dependencies
~0.7–9.5MB
~103K SLoC