table of contents
- bookworm 0.66.0+ds1-1
- testing 1.82.0+dfsg1-2
- unstable 1.83.0+dfsg1-1
- experimental 1.83.0+dfsg1-1~exp1
CARGO-LOCATE-PROJECT(1) | General Commands Manual | CARGO-LOCATE-PROJECT(1) |
NAME¶
cargo-locate-project - Print a JSON representation of a Cargo.toml file's location
SYNOPSIS¶
cargo locate-project [options]
DESCRIPTION¶
This command will print a JSON object to stdout with the full path to the Cargo.toml manifest.
OPTIONS¶
--workspace
Display Options¶
--message-format fmt
-v, --verbose
-q, --quiet
--color when
May also be specified with the term.color config value <https://doc.rust-lang.org/cargo/reference/config.html>.
Manifest Options¶
--manifest-path path
Common Options¶
+toolchain
--config KEY=VALUE or PATH
-h, --help
-Z flag
ENVIRONMENT¶
See the reference <https://doc.rust-lang.org/cargo/reference/environment-variables.html> for details on environment variables that Cargo reads.
EXIT STATUS¶
EXAMPLES¶
cargo locate-project