Skip to main contentCrate fast_uuid_v7
Source - SequentialGenerator
- Generates strictly increasing UUID v7 values from its own, owned state.
- UuidHex
- A stack-allocated hex representation of a UUID without dashes (32 bytes).
- UuidString
- A stack-allocated string representation of a UUID (36 bytes).
- format_uuid
- Formats a u128 UUID into a stack-allocated string representation.
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx - format_uuid_hex
- Formats a u128 UUID into a stack-allocated lowercase hex representation.
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx - gen_id
- Alias for
gen_id_u128. - gen_id_str
- Generates a UUID v7 string on the stack, avoiding heap allocation.
- gen_id_string
- Generates a UUID v7 string using the
gen_id_u128 function. - gen_id_u128
- Generates a unique identifier compatible with UUID v7.
- gen_id_with_count
- Generates a UUID v7 with an RFC-style seeded 18-bit monotonic counter and 56 bits of randomness.
- gen_id_with_count_str
- gen_id_with_sub_ms_4
- Generates a UUID v7 with a 4-bit sub-millisecond fraction in
rand_a. - gen_id_with_sub_ms_8
- Generates a UUID v7 with an 8-bit sub-millisecond fraction in
rand_a. - gen_id_with_sub_ms_12
- Generates a UUID v7 with a 12-bit sub-millisecond fraction in
rand_a.