Crates.io | uuid32 |
lib.rs | uuid32 |
version | 1.0.0 |
source | src |
created_at | 2024-10-21 21:52:43.884431 |
updated_at | 2024-10-21 21:52:43.884431 |
description | Uuids formatted as Strings in Crockford base32 for easier to read + copy urls, plus db |
homepage | |
repository | https://github.com/rogusdev/uuid32 |
max_upload_size | |
id | 1417981 |
size | 8,547 |
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.