Crates.io | fuid |
lib.rs | fuid |
version | 1.2.2 |
source | src |
created_at | 2022-03-10 18:56:20.018201 |
updated_at | 2024-03-24 01:09:03.022146 |
description | A UUID-compatible identifier in a friendly base-62 format. |
homepage | |
repository | https://github.com/arciem/fuid |
max_upload_size | |
id | 547762 |
size | 16,211 |
FUIDs are wrapped 128-bit unsigned integers, which gives them the same resolution as UUIDs. FUIDs are serialized to Base62, which is a sequence of digits and alphanumerics. This makes them shorter and easier to handle than normal UUID encoding, yet when generated randomly they use a UUID generation algorithm and are therefore isomorphic with UUIDs. One advantage of using FUIDs is that they can be converted from and to short strings that can stand in as human-readable identifiers for testing purposes, but can be full-length random numbers for production purposes.