Skip to content

hitesh-bhatnagar/Learn-Rust-Programming

Learn Rust Programming

⭐ A structured open-source repository to learn Rust from beginner to advanced through examples, projects, and ecosystem exploration.

Rust License Contributions Welcome Open Source


About This Repository

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

What You Will Learn

This repository covers Rust step by step:

Rust Fundamentals

  • Variables and Data Types
  • Functions
  • Control Flow
  • Ownership and Borrowing
  • Structs and Enums
  • Error Handling
  • Modules

Intermediate Rust

  • Generics
  • Traits
  • Collections
  • Iterators
  • Lifetimes

Advanced Rust

  • Concurrency
  • Async Programming
  • Unsafe Rust
  • Memory Management
  • FFI

Repository Structure

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

Running the Examples

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

Learning Roadmap

Rust Basics
      ↓
Ownership & Borrowing
      ↓
Structs & Enums
      ↓
Error Handling
      ↓
Collections & Iterators
      ↓
Concurrency & Async
      ↓
Rust Projects
      ↓
Rust Ecosystem

Rust Projects (Planned)

This repository will include practical Rust projects:

Beginner

  • CLI Calculator
  • Password Generator
  • File Organizer
  • Todo CLI

Intermediate

  • HTTP Server
  • Chat Server
  • URL Shortener

Advanced

  • Redis Clone
  • Distributed Key Value Store
  • Database Engine

Rust Ecosystem Topics

The repository will also explore Rust in different domains:

  • CLI Tools
  • Web Development
  • WebAssembly
  • Embedded Systems
  • Systems Programming
  • Networking

Contributing

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.


Good First Issues

If you're new to open source, check issues labeled:

good first issue

These are beginner-friendly tasks.


License

This project is licensed under the MIT License.

See the LICENSE file for details.


Support the Project

If you find this repository helpful:

⭐ Star the repository 🍴 Fork it 📢 Share it with others


Author

Created by By the Community, for the Community.

About

This repository is for beginners who wants to learn about Rust programming language.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages