There is [a new lockfile format](https://github.com/rust-lang/cargo/pull/7070) we can use. This tool allows migrating v1 lockfiles to v2 lockfiles: https://docs.rs/cargo-lock/4.0.1/cargo_lock/#translate-convert-cargolock-files-between-the-v1-and-v2-formats: ```sh cargo lock translate > Cargo.lock.v2 mv Cargo.lock.v2 Cargo.lock cargo build # Format and add auto-generated comments ```