Skip to content

freelancer-nguyen/rust1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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".