cargo::ops::cargo_new

Function check_name

source
fn check_name(
    name: &str,
    show_name_help: bool,
    has_bin: bool,
    shell: &mut Shell,
) -> CargoResult<()>
Expand description

See also util::toml::embedded::sanitize_name