Skip to main content

slugify_effect_key

Function slugify_effect_key 

Source
pub fn slugify_effect_key(text: &str) -> String
Expand description

Direction text → filesystem-safe slug.

Lowercase; ": " → _; any other run of non [a-z0-9_] → -; collapse dashes; strip leading/trailing dashes; over 180 chars, truncate and append _ + 8 hex chars of the full slug’s SHA-256.