cargo metadata

Output the workspace members and resolved dependencies of current package as JSON. Note: The output format is subject to change in future versions of Cargo. More information: https://doc.rust-lang.org/cargo/commands/cargo-metadata.html.

cargo metadata

cargo metadata --no-deps

cargo metadata --format-version {{version}}

cargo metadata --filter-platform {{target_triple}}