#type-id #unique #guid #uuid

yanked typedid

A library to generate and parse TypeIDs

1 stable release

1.0.0 Jun 29, 2023

#17 in #type-id

33 downloads per month

MIT license

16KB
303 lines

TypeID Rust

License: MIT

TypeIDs are a modern, type-safe, globally unique identifier based on the upcoming UUIDv7 standard. They provide a ton of nice properties that make them a great choice as the primary identifiers for your data in a database, APIs, and distributed systems. Read more about TypeIDs in their spec.

This particular implementation provides a rust library for generating and parsing TypeIDs.

Rust flags

This crate requires uuid_unstable feature to be enabled.

RUSTFLAGS="--cfg uuid_unstable"

Dependencies

~375–570KB
~11K SLoC