Welcome to RustLearn ¿ my repository for mastering the Rust programming language! ¿?
Here's what ChatGPT thinks this github repo README should look like.
- Performance: Write code that runs at the speed of light, with zero-cost abstractions.
- Memory Safety: Avoid segmentation faults and data races.
- Concurrency: Build efficient, multi-threaded applications with ease.
- Community: Join one of the fastest-growing programming communities.
- Ownership: Master Rust's unique ownership model to write safe and efficient code.
| Folder/File | Description |
|---|---|
src/ |
Source code for Rust projects |
examples/ |
Beginner-friendly Rust examples |
docs/ |
Documentation and learning resources |
tests/ |
Test cases to ensure code correctness |
Cargo.toml |
Rust package configuration file |
Install Rust using rustup, the official Rust installer:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shFollow the on-screen instructions, and then verify the installation:
rustc --versiongit clone https://github.com/swhipz/RustLearn.git
cd RustLearnTo run a Rust program, navigate to its directory and execute:
cargo runTo run the tests:
cargo test- Basics: Variables, data types, and functions
- Ownership: Understanding Rust's ownership model
- Error Handling:
ResultandOptionenums - Concurrency: Threads and async programming
- Advanced Topics: Macros, traits, and lifetimes
- The Rust Programming Language (Book)
- Rustlings (Exercises)
- Rust Documentation
- Crates.io (Rust Package Registry)
We welcome contributions! Here's how you can get involved:
- Fork the Repository
- Create a New Branch
git checkout -b feature-name
- Make Your Changes
- Submit a Pull Request
Please follow the Rust API Guidelines when contributing.
This project is licensed under the MIT License. See the LICENSE file for more details.
"Rust: safety, speed, and peace of mind."
Happy Coding! ¿?¿?