pub fn contains_invalid_char(name: &str, use_case: &str) -> Result<()>
Check the package name for invalid characters.