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