souvenir
A type-safe, tagged identifier library.
The crate primarily provides the Id struct, which stores a 128-bit
identifier with its corresponding type (tag).
The String representation of an Id is the type's tag and the
128-bit value encoded into a variant of
Crockford Base 32.
Here is a simple example of how this crate can be used.
use Id;
let id: Id = random;
println!;
let id2: Id = parse.unwrap;
assert_eq!;
Integrations for various libraries and databases are also (optionally) available: