use-ulid 0.0.1

Thin ULID parsing and formatting primitives for RustUse
Documentation
  • Coverage
  • 18.18%
    2 out of 11 items documented1 out of 8 items with examples
  • Size
  • Source code size: 13.02 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 466.2 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 23s Average build duration of successful builds.
  • all releases: 23s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • RustUse/use-id
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CloudBranch

use-ulid

Thin ULID parsing and formatting helpers for RustUse.

Install

[dependencies]
use-ulid = "0.0.1"

Foundation

use-ulid wraps the established ulid crate with a small UlidId type plus parsing, formatting, and validation helpers that match use-uuid.

Example

use use_ulid::UlidId;

let value = UlidId::parse("01ARZ3NDEKTSV4RRFFQ69G5FAV")?;

assert_eq!(value.to_canonical(), "01ARZ3NDEKTSV4RRFFQ69G5FAV");
# Ok::<(), use_ulid::UlidIdError>(())

When to use directly

Choose use-ulid when ULID parsing or formatting is the only identifier concern you need.

Scope

  • ULID generation policy is intentionally left to the upstream crate.
  • This crate stays focused on parsing, formatting, and validation.
  • Broader registries and persistence policies are out of scope.

Status

use-ulid is a pre-1.0 crate with a deliberately thin wrapper API.