cargo::ops::cargo_package

Function build_lock

source
fn build_lock(
    ws: &Workspace<'_>,
    publish_pkg: &Package,
    local_reg: Option<&TmpRegistry<'_>>,
) -> CargoResult<String>
Expand description

Construct Cargo.lock for the package to be published.