Function cargo_component::update_lockfile
source ยท pub async fn update_lockfile(
config: &Config,
metadata: &Metadata,
packages: &[PackageComponentMetadata<'_>],
network_allowed: bool,
lock_update_allowed: bool,
locked: bool,
dry_run: bool
) -> Result<()>
Expand description
Update the dependencies in the lock file.
This updates only Cargo-component.lock
.