ferrous-systems / cargo-review-deps

A tool for auditing Cargo dependencies during updates
https://ferrous-systems.com/
Apache License 2.0
54 stars 4 forks source link

Diff lockfiles #9

Open jyn514 opened 3 years ago

jyn514 commented 3 years ago

I want to compare the dependencies of two branches with radically different dependencies (in this case, https://github.com/deadlinks/cargo-deadlinks/pull/86/). However, I don't see a way to compare the Cargo.lock of each branch - I have to be able to replicate the change with a single cargo update command, which isn't possible in my case because these are different crates altogether. It would be great to diff the lockfiles themselves. Right now I'm using cargo tree on each and diffing the output, but it's a little hard to read.