pub(crate) fn regenerate_lockfile(output: OutputContext) -> Result<()> {
    // This seems to be the cheapest way to update the lockfile.
    // cargo update -p <hakari-package> can sometimes cause unnecessary index updates.
    let cargo_cli = CargoCli::new("tree", output);
    cargo_cli
        .to_expression()
        .stdout_null()
        .run()
        .wrap_err("updating Cargo.lock failed")?;
    Ok(())
}
/// Regenerate the lockfile after dependency updates.
Regenerate the lockfile after dependency updates.
Regenerate the lockfile after dependency updates .
pub(crate) fn regenerate_lockfile(output: OutputContext) -> Result<()> {
    // This seems to be the cheapest way to update the lockfile.
    // cargo update -p <hakari-package> can sometimes cause unnecessary index updates.
    let cargo_cli = CargoCli::new("tree", output);
    cargo_cli
        .to_expression()
        .stdout_null()
        .run()
        .wrap_err("updating Cargo.lock failed")?;
    Ok(())
}
pub ( crate ) fn regenerate_lockfile ( output : OutputContext ) -> Result < ( ) > { // This seems to be the cheapest way to update the lockfile. // cargo update -p <hakari-package> can sometimes cause unnecessary index updates. let cargo_cli = CargoCli :: new ( " " , output ) ; cargo_cli . to_expression ( ) . stdout_null ( ) . run ( ) . wrap_err ( " " ) ? ; Ok ( ( ) ) }
Regenerate the lockfile after dependency updates.
Regenerate the lockfile after dependency updates .
output
OutputContext
output
OutputContext