Function cargo_edit::manifest_from_pkgid
source · pub fn manifest_from_pkgid(
manifest_path: Option<&Path>,
pkgid: &str,
) -> CargoResult<Package>
Expand description
Takes a pkgid and attempts to find the path to it’s Cargo.toml
, using cargo
’s metadata