⭐ A structured open-source repository to learn Rust from beginner to advanced through examples, projects, and ecosystem exploration.
This project aims to build a complete Rust learning resource for developers.
Many Rust learning materials focus heavily on theory. This repository focuses on practical learning through clear code examples and projects.
You will learn Rust through:
- Simple examples
- Well-commented code
- Mini projects
- Ecosystem exploration
- Open-source collaboration
This repository covers Rust step by step:
- Variables and Data Types
- Functions
- Control Flow
- Ownership and Borrowing
- Structs and Enums
- Error Handling
- Modules
- Generics
- Traits
- Collections
- Iterators
- Lifetimes
- Concurrency
- Async Programming
- Unsafe Rust
- Memory Management
- FFI
Learn-Rust-Programming
│
README.md
Cargo.toml
LICENSE
CONTRIBUTING.md
CODE_OF_CONDUCT.md
│
examples/
│
│ fundamentals/
│ ecosystem/
│ projects/
│
docs/
│
│ fundamentals.md
│ ecosystem.md
│ projects.md
│ roadmap.md
Clone the repository:
git clone https://github.com/hitesh-bhatnagar/Learn-Rust-Programming
cd Learn-Rust-Programming
Run an example:
cargo run --example example_name
Example:
cargo run --example variables
Rust Basics
↓
Ownership & Borrowing
↓
Structs & Enums
↓
Error Handling
↓
Collections & Iterators
↓
Concurrency & Async
↓
Rust Projects
↓
Rust Ecosystem
This repository will include practical Rust projects:
- CLI Calculator
- Password Generator
- File Organizer
- Todo CLI
- HTTP Server
- Chat Server
- URL Shortener
- Redis Clone
- Distributed Key Value Store
- Database Engine
The repository will also explore Rust in different domains:
- CLI Tools
- Web Development
- WebAssembly
- Embedded Systems
- Systems Programming
- Networking
Contributions are welcome!
You can help by:
- Adding Rust examples
- Improving explanations
- Creating mini projects
- Fixing issues
- Improving documentation
Please read CONTRIBUTING.md before submitting a pull request.
If you're new to open source, check issues labeled:
good first issue
These are beginner-friendly tasks.
This project is licensed under the MIT License.
See the LICENSE file for details.
If you find this repository helpful:
⭐ Star the repository 🍴 Fork it 📢 Share it with others
Created by By the Community, for the Community.