Welcome to my Rust Practice Programs repository! 🎉
This repository contains all the Rust programs I created while learning and practicing Rust. Each program organized into its own folder, with a dedicated README
file to explain its functionality and implementation.
- Each folder (
program/
) contains:- A
main.rs
file: The rust code for that program. - A
README.md
file: Documentation specific to the program, explaining its purpose and usage.
- A
- Clone the repository:
$ git clone https://github.com/rajmanna-dev/Rustacean.git
- Navigate to a program folder:
$ cd Rustacean/guessing_game
- Run the program:
# Programs includes Cargo.toml
$ cargo run
- Compile and run the program(programs without
Cargo.toml
):
# Compile the program
$ rustc hello_rust.rs
# Run the program on Linux or MAC
$ ./hello_rust
# Run the program on Windows
>>> .\hello_rust.exe
Program | Description |
---|---|
🌍 Hello World | Program |
🚢 Hello Cargo | Program |
🎮 Number Guessing Game | Program |
🚅 Variable | Program |
🌀 Data Types | Program |
🦾 Functions | Program |
🚗 Conditional Statement | Program |
➿ Loops | Program |
While this repository is primarily for personal learning, contributions or suggestions are welcome! Feel free to open issues or pull requests if you spot improvements or have ideas.
This repository is licensed under the MIT License. Feel free to use and modify the code for your own learning and projects.