/rs-lab

🦀 Rust 🔬🧫🧪 Laboratory

Primary LanguageRust

Rust laboratory

Note

Rust samples repository for courses and workshops by Alberto Basalo

Rust Image

Instructions

This repository contains the samples and exercises for the Rust laboratory. Each lesson is in a separate folder. The main file is main.rs and the Cargo.toml file is the configuration file for the project. Clone the repository and navigate to the lesson you want to run.

git clone https://github.com/AlbertoBasalo/rs-lab.git
cd rs-lab

To run the samples, you need to have Rust installed. Then, you can follow the basic steps for each lesson:

Lesson 1

cd 1-hello
cargo run

Lesson 2

cd 2-programs
cargo run 595

Lesson 3

cd 3-functions
cargo run example.txt key

Lesson 4

cd 4-traits
cargo run 

🧑🏼‍💻 By Alberto Basalo

twitter albertobasalo

git albertobasalo