#ulid #traits #derive #associating

no-std type_ulid

Trait for associating ULIDs with Rust types

3 releases (breaking)

0.2.0 Jun 1, 2023
0.1.0 Jan 18, 2023
0.0.0 Jan 1, 2023

#41 in #ulid


Used in 4 crates

MIT/Apache

5KB
57 lines

A simple crate containing the TypeUlid trait to allow associating Ulid identifiers with Rust types.

Example

#[derive(TypeUlid)]
#[ulid = "01GNDP9Y66JGBTGTX4XK6M32YB"]
struct MyStruct;

Dependencies

~2MB
~43K SLoC