cargo::ops::cargo_read_manifest

Function read_package

Source
pub fn read_package(
    path: &Path,
    source_id: SourceId,
    gctx: &GlobalContext,
) -> CargoResult<Package>