CmdID

CmdID / Commands

cargo-metadata

Output the workspace members and resolved dependencies of current package as JSON. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

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.

Print the workspace members and resolved dependencies of the current package

cargo metadataIdentify

Print only the workspace members and do not fetch dependencies

cargo metadata --no-depsIdentify

Print metadata in a specific format based on the specified version

cargo metadata --format-version versionIdentify

Print metadata with the resolve field including dependencies only for the given target triple (Note: The packages array will still include the dependencies for all targets)

cargo metadata --filter-platform target_tripleIdentify