This repo contains small exercises for learning programming in Rust. It assumes that Rust is already installed on your machine and you have a basic understanding of programming concepts.
Each exercise is an independent crate in the crates folder that contains a description of what it is about and some links to appropriate learning resources. It is advised to solve them in ascending order.
Most of the crates contain a folder examples
that contains proposed solutions to the problems.
- Look at the README in the
exercise-XX
folder to get an idea what to do. - Browse the existing source code and try to understand it.
- Use the provided resources to solve the exercise.
- Run
cargo run
/cargo test
and verify your solution. - To run a proposed solution use
cargo run --example solutionXX
Note: Making some crates compile could be part of the exercise!