Closed
Description
Problem
The --no-deps
flag of cargo-metadata
is documented as such
--no-deps Output information only about the root package and don't fetch dependencies
From that, I would expect that the output would only include a single package. However, when run in a workspace, information about all packages in the workspace is output.
Steps
- Find a workspace with multiple packages.
- Run
cargo metadata --no-deps --format-version 1
- Observe multiple packages in output
Notes
Output of cargo version
: cargo 1.41.0 (626f0f40e 2019-12-03)