Function cargo::ops::cargo_add::infer_package_for_git_source

source ยท
fn infer_package_for_git_source(
    packages: Vec<Package>,
    src: &dyn Display,
) -> CargoResult<Package>