Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 749 Bytes

README.md

File metadata and controls

9 lines (5 loc) · 749 Bytes

Rust Starter

Here you can easily get started with Rust and experiment. Make sure to Fork this template by clicking the button in the top right corner!

Check out src/main.rs for the code. When you save, it will automatically recompile and show a new version thanks to cargo-watch.

To add a new dependency, open a new terminal (CMD/Ctrl + ` ) and run cargo add ....

After rebuilding the environment by changing the Dockerfile, you might have to restart rust-analyzer by doing CMD/Ctrl+K and "Restart rust server" or restart the VM by clicking the CodeSandbox logo (in the top left) and clicking "Restart Instance".