cargo_component

Function update_lockfile

Source
pub async fn update_lockfile(
    client: Arc<CachingClient<FileCache>>,
    config: &Config,
    metadata: &Metadata,
    packages: &[PackageComponentMetadata<'_>],
    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.