cargo::ops::cargo_package

Function compare_resolve

source
fn compare_resolve(
    gctx: &GlobalContext,
    current_pkg: &Package,
    orig_resolve: &Resolve,
    new_resolve: &Resolve,
) -> CargoResult<()>
Expand description

Generate warnings when packaging Cargo.lock, and the resolve have changed.