@@ -58,34 +58,23 @@ This repository covers Rust step by step:
5858
5959---
6060
61- # Repository Structure
62-
63- ```
64- Learn-Rust-Programming
65- │
66- README.md
67- Cargo.toml
68- LICENSE
69- CONTRIBUTING.md
70- CODE_OF_CONDUCT.md
71- │
72- examples/
73- │
74- │ fundamentals/
75- │ ecosystem/
76- │ projects/
77- │
78- docs/
79- │
80- │ fundamentals.md
81- │ ecosystem.md
82- │ projects.md
83- │ roadmap.md
84- ```
8561
86- ---
62+ # ⚡ Getting Started
63+
64+ ## 🔧 Prerequisites
65+
66+ Install Rust:
67+
68+ 👉 https://rustup.rs
69+
70+ Verify installation:
71+
72+ ```
73+ rustc --version
74+ cargo --version
75+ ```
8776
88- # Running the Examples
77+ # How to Run Code
8978
9079Clone the repository:
9180
@@ -94,7 +83,7 @@ git clone https://github.com/hitesh-bhatnagar/Learn-Rust-Programming
9483cd Learn-Rust-Programming
9584```
9685
97- Run an example:
86+ ### Run an example:
9887
9988```
10089cargo run --example example_name
@@ -106,26 +95,42 @@ Example:
10695cargo run --example variables
10796```
10897
98+ ### Run Projects
99+
100+ Projects are full Rust applications inside 'Rust_Projects/'
101+
102+ Create a new project
103+ ```
104+ cd Rust_Projects
105+ cargo new project_name
106+ cargo run -p project_name
107+ ```
108+
109+ To Run an existing project
110+ ```
111+ cargo run -p project_name
112+ ```
113+
109114---
110115
111116# Learning Roadmap
112117
113118```
114- Rust Basics
119+ Rust Basics (Variables, Data Types, Functions, Control Flow ...)
115120 ↓
116- Ownership & Borrowing
121+ Core Rust (Ownership, Borrowing, Lifetimes...)
117122 ↓
118- Structs & Enums
123+ Standard Library (Vec, HashMap, Strings, File Handling...)
119124 ↓
120- Error Handling
125+ Systems Programming (Threads, Concurrency, Memory Management...)
121126 ↓
122127Collections & Iterators
123128 ↓
124129Concurrency & Async
125130 ↓
126- Rust Projects
131+ Rust Projects (CLI tools, HTTP Server...)
127132 ↓
128- Rust Ecosystem
133+ Rust Ecosystem (Embedded Systems, Blockchain, Development, CLI Tools...)
129134```
130135
131136---
@@ -179,6 +184,7 @@ You can help by:
179184* Creating mini projects
180185* Fixing issues
181186* Improving documentation
187+ * Help build Rust Ecosystem
182188
183189Please read ** CONTRIBUTING.md** before submitting a pull request.
184190
0 commit comments