#uuid #ids #base32

bin+lib uuid32

Uuids formatted as Strings in Crockford base32 for easier to read + copy urls, plus db

3 stable releases

Uses new Rust 2024

new 1.1.1 Apr 17, 2025
1.0.0 Oct 21, 2024

#1612 in Encoding

Download history 74/week @ 2025-04-12

74 downloads per month

MIT license

12KB
197 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–10MB
~103K SLoC