Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/emanguy/rust-presentation-code

Sample code for my Rust presentation
https://github.com/emanguy/rust-presentation-code

Last synced: 7 days ago
JSON representation

Sample code for my Rust presentation

Awesome Lists containing this project

README

        

# Rust Presentation Code

Code to go along with my [Rust Presentation](https://docs.google.com/presentation/d/1O4NUcHx4ex_PpBWSVk5G4c2prPE0MW4-Zznl-QFp_30/edit?usp=sharing) that I've given in the past. You can run each example with `cargo`'s example feature:

### Part 1 - Hello World

cargo run --example p01_hello_world

### Part 2 - Variables and Mutability

cargo run --example p02_variables_mutability

### Part 3 - Structs

cargo run --example p03_structs

### Part 4 - Traits

cargo run --example p04_traits

### Part 5 - Collections and Iteration

cargo run --exmaple p05_collections_iteration

### Part 6 - Pattern Matching and Enums

cargo run --example p06_pattern_matching_enums

### Part 7 - Option and Result

cargo run --example p07_option_result

### Part 8 - (Bonus!) Testing

cargo run --example p08_bonus_tests