summaryrefslogtreecommitdiffstats
path: root/src/tools/cargo/tests/testsuite/cargo_metadata/help/stdout.log
blob: 939fc40c9c0fa260068b7cba80d993b4652799fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Output the resolved dependencies of a package, the concrete used versions including overrides, in
machine-readable format

Usage: cargo[EXE] metadata [OPTIONS]

Options:
      --filter-platform <TRIPLE>  Only include resolve dependencies matching the given target-triple
      --no-deps                   Output information only about the workspace members and don't
                                  fetch dependencies
      --format-version <VERSION>  Format version [possible values: 1]
  -q, --quiet                     Do not print cargo log messages
  -v, --verbose...                Use verbose output (-vv very verbose/build.rs output)
      --color <WHEN>              Coloring: auto, always, never
      --config <KEY=VALUE>        Override a configuration value
  -Z <FLAG>                       Unstable (nightly-only) flags to Cargo, see 'cargo -Z help' for
                                  details
  -h, --help                      Print help

Feature Selection:
  -F, --features <FEATURES>  Space or comma separated list of features to activate
      --all-features         Activate all available features
      --no-default-features  Do not activate the `default` feature

Manifest Options:
      --manifest-path <PATH>  Path to Cargo.toml
      --frozen                Require Cargo.lock and cache are up to date
      --locked                Require Cargo.lock is up to date
      --offline               Run without accessing the network

Run `cargo help metadata` for more detailed information.