cargo-metadata man page

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

Synopsis

cargo metadata [Options]

Description

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

Options

-h, --help
Print this message.
--features FEATURES
Space-separated list of features.
--all-features
Build all available features.
--no-default-features
Do not include the default feature.
--no-deps
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

cargo(1)

Referenced By

cargo-pkgid(1).

May 2016 The Rust package manager Cargo Manual