https://github.com/rogusdev/uuid32
Uuids formatted as Strings in Crockford base32 for easier to read + copy urls, plus db
https://github.com/rogusdev/uuid32
Last synced: 2 months ago
JSON representation
Uuids formatted as Strings in Crockford base32 for easier to read + copy urls, plus db
- Host: GitHub
- URL: https://github.com/rogusdev/uuid32
- Owner: rogusdev
- License: mit
- Created: 2024-10-21T21:43:21.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-05T08:11:12.000Z (about 1 year ago)
- Last Synced: 2025-04-04T13:16:41.042Z (about 1 year ago)
- Language: Rust
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://crates.io/crates/uuid32) and the [documentation](https://docs.rs/uuid32/latest/uuid32/) for reference.