commands.sh

cargo generate-lockfile

all

Generate the `Cargo.lock` file for the current package. Similar to `cargo update`, but has less options. If the lockfile already exists it will be rebuilt with latest version of every package.

More info →

Examples (1)

Generate a `Cargo.lock` file with the latest version of every package

made by @shridhargupta | data from tldr-pages