Module cargo_new

Source

Structsยง

CargoNewConfig ๐Ÿ”’
IgnoreList ๐Ÿ”’
IgnoreList
MkOptions ๐Ÿ”’
NewOptions
SourceFileInformation ๐Ÿ”’

Enumsยง

NewProjectKind
VersionControl

Functionsยง

calculate_new_project_kind ๐Ÿ”’
can_be_workspace_member ๐Ÿ”’
check_name ๐Ÿ”’
See also util::toml::embedded::sanitize_name
check_path ๐Ÿ”’
Checks if the path contains any invalid PATH env characters.
detect_source_paths_and_types ๐Ÿ”’
get_display_path ๐Ÿ”’
get_name ๐Ÿ”’
init
init_vcs ๐Ÿ”’
Initializes the correct VCS system based on the provided config.
mk ๐Ÿ”’
new
plan_new_source_file ๐Ÿ”’
update_manifest_with_inherited_workspace_package_keys ๐Ÿ”’
update_manifest_with_new_member ๐Ÿ”’
Adds the new package member to the [workspace.members] array.
write_ignore_file ๐Ÿ”’
Writes the ignore file to the given directory. If the ignore file for the given vcs system already exists, its content is read and duplicate ignore file entries are filtered out.