Section [metadata] seems to no longer be produced by nightly cargo #56
Closed
Description
Describe the bug
It seems the nightly compiler no longer puts the hash into a metadata section, but instead in the package list at the "checksum" key. This breaks cargo deny check ban
.
To Reproduce
Steps to reproduce the behavior:
- Initialize a new project
- Add any dependency
- Compile with nightly
- Initialize and run
cargo deny check ban
- An error message "unable to find metadata section in Cargo.lock".
Expected behavior
The ban checker should probably fall back on the "checksum" field if the "metadata" section cannot be found.