Crate yulid

source ·
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

Adapters for various formats for [Ulid]s.
Ulid parsing constructs and utilities.
The yulid prelude.

Structs

The error that can occur when creating a Ulid.
A universally unique lexicographically sortable identifier (ULID).

Type Definitions

A 128-bit (16 byte) buffer containing the ID.