Skip to main content

slugify

Function slugify 

Source
pub fn slugify(s: &str) -> String
Expand description

Convert an arbitrary string into a URL-safe slug: lowercase, replace non-alphanumeric chars with -, collapse runs of -.