1 2 3 4 5 6 7 8
pub(crate) const SCOPE: &str = "semver-checks"; pub(crate) fn slugify(value: &str) -> String { value .chars() .map(|c| if c.is_alphanumeric() { c } else { '_' }) .collect::<String>() }