pub fn slug(s: &str, separator: char) -> String
Convert a string to a URL-safe slug with the given separator.