Skip to main content

generate

Function generate 

Source
pub fn generate() -> String
Expand description

Generate a 21-character, URL-safe, non-cryptographic identifier.

This is a drop-in replacement for the previous nanoid!() usage for internal, non-security-sensitive use.