Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 595 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 595 Bytes

crate-deps

Determine the full transitive set of new dependencies for a cargo workspace between versions.

Usage

Run cargo metadata on the two versions to be compared:

git checkout v1
cargo metadata > /tmp/v1.metadata.json

git checkout v2
cargo metadata > /tmp/v2.metadata.json

Now run crate-deps, passing the two versions as commandline arguments. The first one specified is taken to be the baseline version, the second the new version:

crate-deps /tmp/v1.metadata.json /tmp/v2.metadata.json

The output will be a list of crates added in the new version.