Skip to content

beebeeVB/Rust-http

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

rust-http

Building an HTTP server from scratch in Rust. No frameworks. Standard library only until Phase 5.

Phases

  • Phase 1 — Hello TCP
  • Phase 2 — Parse the Request
  • Phase 3 — Route and Respond
  • Phase 4 — Serve Files
  • Phase 5 — Concurrency
  • Phase 6 — Thread Pool

Run

cargo run

Then in another terminal:

curl -v http://127.0.0.1:8080

Rules

  • No Actix, no Axum, no Tokio until Phase 5
  • Standard library only
  • Read the Rust book when stuck, not before

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages