Expand description
A command-line frontend for guppy
.
cargo-guppy
provides a frontend for running guppy
queries.
§Installing
cargo-guppy
is currently a work in progress, and not yet on crates.io
. To install it, ensure
you have cargo
installed (preferably through rustup), then run:
cargo install --git https://github.com/guppy-rs/guppy --branch main cargo-guppy
This will make the cargo guppy
command available.
§Commands
The list of commands is not currently stable and is subject to change.
§Query commands
select
: query packages and their transitive dependenciesresolve-cargo
: query packages and features as would be built by cargosubtree-size
: print dependencies along with their unique subtree sizedups
: print duplicate packages
§Diff commands
diff
: perform a diff of twocargo metadata
JSON outputsdiff-summaries
: perform a diff of two summaries
§Workspace manipulations
mv
: move crates to a new location in a workspace, updating paths along the way
Structs§
- Base
Filter Options - CmdSelect
Options - Diff
Summaries Options - Dups
Options - Filter
Options - MvOptions
- Query
Options - Resolve
Cargo Options - Subtree
Size Options