Skip to content

arild/rust-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust introductory workshop

This workshop will give an introduction to Rust through the slides and some hands-on exercices. Slides for the workshop: https://arild.github.io/rust-workshop

Preparations

The following steps should be completed before the workshop:

  1. Install Rust
  2. Clone project: git clone https://github.com/arild/rust-workshop.git
  3. Run cargo test in project root folder. Code should compile and it's expected that tests fail (coding exercises will make them green)
  4. Import project to IDE. Verify that code completion is available.
  5. (Optional) Rust Rover - standalone IDE from JetBrains
  6. (Optional) Cargo watch - watch for file changes and runs the command again
    cargo install cargo-watch
    cargo watch -x "test partX" // x is part
  • If you encounter linker 'cc' not found error while trying to install Rust, try to install build-essentials first:
sudo apt install build-essentials

About

Introduction workshop to Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages