This is a project created from artificial intelligence promps to show examples of the syntax of the rust programming language.
Each file exemplifies an aspect of the rust syntax and everything is run from src/main.rs.
Each function in each file attempts to create variables and streams that result in a console printout of the contents of each variable.
- Rust
- Cargo
- Clone the repository:
git clone https://github.com/Johan-FF/Learn-Rust---Rust.git
cd Learn-Rust---Rust
Run the application with:
cago run
Compile the project without running it:
cago build
Execute the binary manually:
./target/debug/Learn-Rust---Rust
If you have compiled the project in release mode (optimized), you can use:
cargo build --release
./target/release/Learn-Rust---Rust
Contributions are welcome! If you find any bugs or want to add new features, feel free to open an issue or submit a pull request.