cargo-metadata (1) Linux Manual 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.
