#ulid #identifier #traits #type #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

#15 in #ulid

Download history 43/week @ 2024-02-10 51/week @ 2024-02-17 92/week @ 2024-02-24 58/week @ 2024-03-02 58/week @ 2024-03-09 52/week @ 2024-03-16 71/week @ 2024-03-23 116/week @ 2024-03-30 54/week @ 2024-04-06 140/week @ 2024-04-13 64/week @ 2024-04-20 53/week @ 2024-04-27 51/week @ 2024-05-04 55/week @ 2024-05-11 41/week @ 2024-05-18 38/week @ 2024-05-25

189 downloads per month
Used in 5 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.2–1.7MB
~40K SLoC