cargo::ops::cargo_add

Function infer_package_for_git_source

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