cargo
1.87.0-nightly
(75530e9f7 2025-03-18)
In cargo::
ops::
cargo_
new
Structs
CargoNewConfig
IgnoreList
MkOptions
NewOptions
SourceFileInformation
Enums
NewProjectKind
VersionControl
Functions
calculate_new_project_kind
can_be_workspace_member
check_name
check_path
detect_source_paths_and_types
get_display_path
get_name
init
init_vcs
mk
new
plan_new_source_file
update_manifest_with_inherited_workspace_package_keys
update_manifest_with_new_member
write_ignore_file
cargo
::
ops
::
cargo_new
Function
get_name
Copy item path
Settings
Help
Summary
Source
fn get_name<'a>(path: &'a
Path
, opts: &'a
NewOptions
) ->
CargoResult
<&'a
str
>