cargo::ops::cargo_read_manifest

Function read_package

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