#identifier

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

#147 in #identifier

Download history 40/week @ 2024-07-21 40/week @ 2024-07-28 40/week @ 2024-08-04 41/week @ 2024-08-11 35/week @ 2024-08-18 43/week @ 2024-08-25 34/week @ 2024-09-01 26/week @ 2024-09-08 15/week @ 2024-09-22 16/week @ 2024-09-29 1/week @ 2024-10-06

657 downloads per month
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

~1.3–1.8MB
~41K SLoC