* cargo-generate-lockfile: add page * cargo-generate-lockfile: add page * cargo-generate-lockfile: add page * cargo-generate-lockfile: add page * add page: cargo-locate-project * cargo-locate-project: add page * cargo-locate-project: add page * Apply suggestions from code review Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> --------- Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
793 B
793 B
cargo locate-project
Print the full path to the
Cargo.tomlmanifest of the current project. If the project is part of a workspace, the manifest of the project is shown, rather than that of the workspace. More information: https://doc.rust-lang.org/cargo/commands/cargo-locate-project.html.
- Print the JSON object to
stdoutwith full path to theCargo.tomlmanifest:
cargo locate-project
- Print the project path in the specified format:
cargo locate-project --message-format {{plain|json}}
- Print the
Cargo.tomlmanifest located at the given path:
cargo locate-project --manifest-path {{path/to/Cargo.toml}}
- Print the
Cargo.tomlmanifest located at the root of the workspace as opposed to the current workspace member:
cargo locate-project --workspace