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.