Cargo tool window
The Cargo tool window allows you to manage workspace members and targets. By default, it is pinned to the tool windows bar and opens automatically on project load. You can also access it via View | Tool Windows | Cargo.
![Cargo tool window Cargo tool window](https://resources.jetbrains.com/help/img/idea/2024.3/cargo_tw.png)
Use the top panel to:
Open the Cargo tool window (click
on the tool window bar or select View | Tool Windows | Cargo from the main menu).
Locate and double-click the necessary target. The IDE will run the command that executes the given target type (for example,
cargo run
for a binary,cargo test
for tests, and so on).You will see the results displayed in the Build/Run tool window.
Gif
Use one of the following options:
Click
in the Cargo tool window. This will open the Run Anything dialog with a list of pre-filtered Cargo commands:
Press Ctrl twice to open the Run Anything popup and type the command.
Create and then run a Cargo configuration.
tip
When you run a Cargo command in any of these ways, RustRover creates a matching temporary configuration.
Saving the configuration as permanent will allow you to extend it with additional startup properties and environment settings.
Thanks for your feedback!