Function cuid::cuid2

source ยท
pub fn cuid2() -> String
Expand description

Creates a new CUID.

Alias for created_id(), which is the interface defined in the reference implementation. The cuid() interface allows easier drop-in replacement for crates using the v1 cuid crate.