Like UUIDs or ULIDs, but better
Add the following to your Cargo.toml:
toml
uwuid = "0.3.0"
rs
// Create a uwuid:
let id = uwuid::UwuId::new();
// Convert it to a string:
let foo = format!("{}", id);
// Parse a uwuid from a string:
let bar: uwuid::UwuId = foo.parse().unwrap();
MIT OR Apache-2.0 © bs2k