Skip to main content

slugify_str

Function slugify_str 

Source
pub fn slugify_str(input: &str, opts: &SlugOpts) -> String
Expand description

Slugify a single string with the given options.

Wrapper around slug_preserve::slugify. See that crate’s docs for details. This is re-exported so library users don’t need to depend on slug-preserve directly.