RustRover 2023.3 Help

Loading Cargo projects

Some changes you make (like updating Cargo.toml or the build scripts) alter the project model. In order to keep track of these changes, RustRover provides several dedicated mechanisms.

Automatic reload for Cargo.toml changes

When you work on Cargo.toml, RustRover reloads the project as you type. This is the default behavior, but you can always change it.

Change auto-reload settings

In the Settings dialog (Ctrl+Alt+S) , navigate to Build, Execution, Deployment | Build Tools:

Auto-refresh project setting
  • To reload automatically on changes in Cargo.toml, select Any changes.

  • To auto-reload only on external changes (including VCS), select External changes.

  • To disable automatic reloading, clear the Reload project after changes in the build scripts checkbox.

Manual reloading

Whenever automatic reloading is not available but an update is needed, the IDE will suggest to reload using the Load Cargo Changes button.

Reload the project model manually

  • In the editor, press Ctrl+Shift+O or click the Load Cargo Changes button.

    Refreshing Cargo.toml via popup
  • Alternatively, you can reload your project through the Cargo tool window (View | Tool Windows | Cargo) – by clicking the Reload icon in the toolbar.

    Refreshing Cargo.toml from the Cargo tool window

Viewing project load results

To view the results of the most recent project load, navigate to the Sync tab of the Build tool window (View | Tool windows | Build).

Sync tool window
Last modified: 08 April 2024