Skip to content

shivamgoyal-juul/gettingStartedRust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Understanding Rust

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.


The Learning Path

1. Installation

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) | sh

2. Environment Setup

I 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 #

3. Project Structure

  • src/main.rs: The Rust logic for server.
  • index.html: HTML file for the webpage.
  • Cargo.toml: Project config and metadata.

4. How to Run

  • 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors