I developed this project with the intention of bringing together simple systems and algorithms that cover the basics of the Rust programming language.
It was made to help anyone who want to explore more practical code examples. The repository contains a variety of projects, from simple "Hello, World!" to more advanced concepts, such as data structures and algorithms.
Rust-Basics/
├── algorithms/
│ ├── level-1/
│ │ ├── create_file/ (Algorithm: File creation in Rust)
│ │ ├── deck/ (Project: Creating a deck of cards)
│ │ ├── hello_rust/ (Example: Hello, Rust!)
│ │ ├── hello_rust_loop/ (Algorithm: Hello, Rust!)
│ │ ├── random/ (Project: Explain the use of the 'random' library)
│ │ ├── rust_palindrome/ (Algorithm: Check palindrome in Rust)
│ │ ├── simple_input/ (Algorithm: Continuously accept input until 'end' is entered)
│ │ ├── struct_trait_impl/ (Algorithm: Explain how struct impl and trait interact with each other)
│ │ ├── sum_of_digits/ (Algorithm: Receive inputs and interact with them)
│ │ └── two_sums_HashMap/ (Algorithm: Two sums with HashMap)
│ │
│ ├── level-2/
│ │ ├── binary_search/ (Algorithm: Binary search in a vector)
│ │ ├── key-pressed/ (Algorithm: Detect keypress)
│ │ ├── linear_search/ (Algorithm: Linear search in a vector)
│ │ ├── pattern_matching/ (Algorithm: Pattern matching)
│ │ └── two_sums/ (Algorithm: Two sums)
│ |
│ └── level-3/
│ ├── bubble_sort/ (Algorithm: Bubble sort for arrays)
│ ├── simple_file_renamer/ (Project: Rename files)
│ └── word_counter/ (Algorithm: Counts the number of words in a file )
│
├── projects/
│ ├── battle_ship/ (Project: Simple battleship game)
│ ├── rust-ui/ (Project: GTK-based UI with a button)
│ └── Viagens/ (Project: Integration of structs and functions)
│
└── rocket/
└── rocket_101/ (Introduction to the Rocket web framework!)
To run any code, make sure you have the installed:
- Rust
- Cargo
To execute any code, use the following command:
cargo run
Thank you for exploring Rust-Basics!
Feel Free to reach me on ✉️Heinz1Dev@gmail.com✨