Skip to content

Latest commit

 

History

History
 
 

cargo-guppy

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

cargo-guppy

Documentation (main) License License

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/facebookincubator/cargo-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 dependencies
  • resolve-cargo: query packages and features as would be built by cargo
  • subtree-size: print dependencies along with their unique subtree size
  • dups: print duplicate packages

Diff commands

  • diff: perform a diff of two cargo metadata JSON outputs
  • diff-summaries: perform a diff of two summaries

Workspace manipulations

  • mv: move crates to a new location in a workspace, updating paths along the way

Contributing

See the CONTRIBUTING file for how to help out.

License

This project is available under the terms of either the Apache 2.0 license or the MIT license.