Skip to content

Getting started with the Rust programming language using this VSCode and GitHub Actions template.

Notifications You must be signed in to change notification settings

second-state/learn-rust-with-github-actions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Working with VS Codespaces

VSCode is the most popular IDE for developing Rust applications. This template works with the VS Codespaces online IDE! Just fork it, open it in the online IDE, write Rust code, build, and run it directly from the IDE. No software download or install needed!

Learn Rust

Check out the high-res screencast. VS Codespaces runs entirely in your browser and costs around $1 per work day. It is cheaper than a cup of coffee in the office. Alternatively, use locally installed VSCode and Docker, and launch the IDE with your remote git repository.

First, open the VS Codespaces web site and login with your Azure account. You can get a free Azure account.

Next, create a new Codespace. Put your forked repository into the Git Repository field.

Create a new Codespace

Then open the main.rs and Cargo.toml files and code your fancy Rust application!

Code in Codespace

Click on the Run Debug button in the left panel, and then the Run button at the top.

Run the Rust program

See your Rust application run. Its standard output is displayed in the Terminal window in the IDE.

See output in terminal

From the Terminal window, you can run any Linux command including cargo and rustup. For example, you can manually run the executable binary in the target directory.

Access the file system in the terminal

Now, go learn Rust or try out the examples in your new IDE!

Releases

No releases published

Packages

No packages published