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 .
Use the top panel to:
Run a target from the Cargo tool window
Open the Cargo tool window (click Cargo on the tool window bar or select 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 runfor a binary,
cargo testfor tests, and so on).
You will see the results displayed in the Build/Run tool window.
Run a Cargo command
Use one of the following options: