Skip to main content

check_name

Function check_name 

Source
pub fn check_name(name: &str) -> Result<(), String>
Expand description

Check a package name: ASCII letters, digits, - and _, starting with a letter, at most 64 characters, and not a Windows device name. The error says which rule the name breaks.