Cargo has just stabilized `Cargo.lock` v4 format: https://github.com/rust-lang/cargo/pull/12852 We may need to update the `cargo-lock` crate to support it.