Expand description
cargo-resolvediff is an application that allows to build a diff between the resolved
dependency graph between different versions, including automatic updates.
The order of operations is:
- Gather & index metadata with
indexed::IndexedMetadata - Optionally do major updates with
major_updates::ManifestDependencySet - Resolve the crate graph into a format that stores reasons for inclusion & kinds of
dependencies with
resolve::Resolved - Get a diff between different
resolve::Resolveds withdiff::Diff
Currently, only [crates.io] & path dependencies are correctly handled, git dependencies get interpreted as [crates.io] dependencies for diffing purposes.
This is fine as long as git dependencies aren’t automatically updated, or git changes
point to a branch or are manually updated by someone else.
Modules§
- diff
- Generate a diff between two [
resolve::Resolved]s, seeDiff::between. - git
- Git helpers for the application to add changes & commit them
- indexed
- Run
cargo metadata& index the result byPackageIds - major_
updates - Handle major updates & related tasks
- resolve
- Walks the
resolvegraph in anIndexedMetadatato gather dependency kinds & inclusion reasons - toml_
edit - Utilities for editing
Cargo.tomlmanifests - util
- Various utility functions associated with this crate
Structs§
- Platform
- A platform tuple (such as
x86_64-unknown-linux-gnu)