cargo locate-project

Print a JSON representation of a Cargo.toml file's location


--manifest-path <manifest-path>Path to Cargo.toml
--message-format <message-format>Output representation [possible values: json, plain]
--color <color>Coloring: auto, always, never
--config <config>
  • Repeatable ♾
-Z <unstable-features>
  • Repeatable ♾
-q, --quietDo not print cargo log messages
--workspaceLocate Cargo.toml of the workspace root
-h, --helpPrint help information
-v, --verbose
  • Repeatable ♾
--frozenRequire Cargo.lock and cache are up to date
--lockedRequire Cargo.lock is up to date
--offlineRun without accessing the network