Module cargo::util::restricted_names
source · Expand description
Helpers for validating and checking names like package and crate names.
Functions
- An artifact with this name will conflict with one of Cargo’s build directories.
- Returns
true
if the name contains any glob pattern wildcards. - A Rust keyword.
- Returns
true
if the name contains non-ASCII characters. - These names cannot be used on Windows, even with an extension.
- Check the entire path for names reserved in Windows.
- Ensure a package name is valid
- Check the base requirements for a package name.