fastC

fastc-core · RFC 4122 v4 + parse/format

fastc-core-uuid

fastc-core-uuid generates RFC 4122 v4 UUIDs and parses the textual format. Generation needs CapRand — randomness is a capability — while parsing and formatting are pure.

capability CapRand for v4

What it ships (v0.1.0)

  • v4 (random) generation, gated on CapRand
  • v1 / v3 / v5 parse-only
  • RFC 4122 textual format

When to use it

Stable identifiers for records, requests, and traces.

Example

use uuid::v4;

fn id(c: ref(CapRand)) -> String {
  return v4(c).to_string();
}
fastc-core-uuid — minimal usage fastc-core-uuid v0.1.0

Roadmap

v7 (time-ordered) generation lands in v0.2.

Implements RFC 4122.

Provenance

Like every fastc-core package, fastc-core-uuid ships with content-hashed, cosign-keyless-signed releases and SLSA L3 provenance. It is vendored, not pulled from a central registry — there is no account to compromise.

See also