Visual Studio Code and Rust keybinding

I am using Visual Studio Code on Windows 10 to learn Rust.
I installed the Rust analyzer.
When I want to build or run a project I have to go to the terminal, change to the project directory, and type "Cargo run".
Is there a way to set up a keyboard combination to set the project folder and run the "Cargo run" command?

My approach to this is to use the WSL and have a terminal open. Then it's typically just a case of Alt-tab and up arrow to run the command on the terminal.

You can open the command pallet (or use the terminal menu) and choose Run Task. You'll have to choose some options once for each project but then it should just run every time after that (unless you have multiple tasks, then you'll have to pick the task)