Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/emanguy/rust-presentation-code
- Owner: emanguy
- Created: 2022-02-17T22:40:04.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-14T16:05:54.000Z (over 1 year ago)
- Last Synced: 2024-10-11T01:41:11.946Z (about 1 month ago)
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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