CmdID

CmdID / Commands

cargo-locate-project

Print the full path to the Cargo.toml manifest of a project. 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

Print the full path to the Cargo.toml manifest of a project. If the project is part of a workspace, the manifest of the project is shown, rather than that of the workspace.

Display the JSON object with full path to the Cargo.toml manifest

cargo locate-projectIdentify

Display the project path in the specified format

cargo locate-project --message-format plainIdentify

Display the Cargo.toml manifest located at the root of the workspace as opposed to the current workspace member

cargo locate-project --workspaceIdentify

Display the Cargo.toml manifest of a specific directory

cargo locate-project --manifest-path path/to/Cargo.tomlIdentify