cargo locate-project
Print a JSON representation of a Cargo.toml file's location
Options
Name | Description |
---|---|
--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> |
|
-Z <unstable-features> |
|
-q, --quiet | Do not print cargo log messages |
--workspace | Locate Cargo.toml of the workspace root |
-h, --help | Print help information |
-v, --verbose |
|
--frozen | Require Cargo.lock and cache are up to date |
--locked | Require Cargo.lock is up to date |
--offline | Run without accessing the network |