cargo-metadata man page

cargo-metadata — Machine-readable metadata about the current project


cargo metadata [Options]


Output the resolved dependencies of a project, the concrete used versions including overrides, in machine-readable format.


-h, --help
Print this message.
--features FEATURES
Space-separated list of features.
Do not include the default feature.
Output information only about the root package and don't fetch dependencies.
--manifest-path PATH
Path to the manifest.
--format-version VERSION
Format version [default: 1]. Valid values: 1.
-v, --verbose
Use verbose output.
-q, --quiet
No output printed to stdout.
--color WHEN
Coloring: auto, always, never.

See Also


Referenced By


Explore man page connections for cargo-metadata(1).

The Rust package manager Cargo Manual May 2016