Skip to main content

Crate cargo_resolvediff

Crate cargo_resolvediff 

Source
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:

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, see Diff::between.
git
Git helpers for the application to add changes & commit them
indexed
Run cargo metadata & index the result by PackageIds
major_updates
Handle major updates & related tasks
resolve
Walks the resolve graph in an IndexedMetadata to gather dependency kinds & inclusion reasons
toml_edit
Utilities for editing Cargo.toml manifests
util
Various utility functions associated with this crate

Structs§

Platform
A platform tuple (such as x86_64-unknown-linux-gnu)