cargo generate-lockfile
Generate the
Cargo.lockfile for the current package. Similar tocargo update, but has less options. If the lockfile already exists it will be rebuilt with latest version of every package. More information: https://doc.rust-lang.org/stable/cargo/commands/cargo-generate-lockfile.html.
- Generate a
Cargo.lockfile with the latest version of every package:
cargo generate-lockfile