This repository documents my journey of mastering the Rust programming language, starting with basic syntax and culminating in a functional, low-level TCP web server.
To set up the Rust toolchain, I used rustup, which installs the compiler (rustc), the package manager (cargo), and the standard library.
curl --proto '=https' --tlsv1.2 -sSf [https://sh.rustup.rs](https://sh.rustup.rs) | shI installed the Rust toolchain using rustup, which includes:
- rustc: The Rust compiler.
- cargo: Rust’s build system and package manager.
# Check installation rustc --version cargo --version #- src/main.rs: The Rust logic for server.
- index.html: HTML file for the webpage.
- Cargo.toml: Project config and metadata.
- Ensure you have Rust installed.
- Clone this repository:
git clone git@github.com:shivamgoyal-juul/gettingStartedRust.git - Navigate to the folder and run:
cargo run