cargo::ops

Function pkgid

Source
pub fn pkgid(
    ws: &Workspace<'_>,
    spec: Option<&str>,
) -> CargoResult<PackageIdSpec>