A command-line frontend for guppy
.
cargo-guppy
provides a frontend for running guppy
queries.
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/facebookincubator/cargo-guppy --branch main cargo-guppy
This will make the cargo guppy
command available.
The list of commands is not currently stable and is subject to change.
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
: perform a diff of twocargo metadata
JSON outputsdiff-summaries
: perform a diff of two summaries
mv
: move crates to a new location in a workspace, updating paths along the way
See the CONTRIBUTING file for how to help out.
This project is available under the terms of either the Apache 2.0 license or the MIT license.