Expand description
Generate and parse ULIDs.
Provides support for universally unique lexicographically sortable identifiers (ULIDs). A ULID is a combination of a 48-bit timestamp and an 80-bit unique number, stored as 16 octets. ULIDs are used to assign identifiers to entities without requiring a central allocating authority.
They are particularly useful in distributed systems, though can be used in disparate areas, such as databases and network protocols. Typically a UUID is displayed in a readable string form as a sequence of 26 base32 digits.
The uniqueness property is not strictly guaranteed, however for all practical purposes, it can be assumed that an unintentional collision would be extremely unlikely.
Re-exports§
pub use self::parser::ParseError;
Modules§
- adapter
- Adapters for various formats for [
Ulid]s. - parser
Ulidparsing constructs and utilities.- prelude
- The
yulidprelude.
Structs§
- Bytes
Error - The error that can occur when creating a
Ulid. - Ulid
- A universally unique lexicographically sortable identifier (ULID).
Type Aliases§
- Bytes
- A 128-bit (16 byte) buffer containing the ID.