Skip to main content

Crate shortid_rs

Crate shortid_rs 

Source

Functionsยง

short_code_from_uuid
Generate a short code (6 chars) from a UUID by hashing & truncating
unique_short_code
Ensure uniqueness in a namespace by retrying or tweaking with dash/underscore