/book_http_server

A tiny HTTP server project that finalizes The Rust Book

Primary LanguageRust

A tiny HTTP server from The Rust Book

This HTTP server is described in The Rust Book in its final chapter

Build and run

Given Rust is installed

cargo run

TODO

The list of homework from The Rust Book right above the summary on the last page:

  • Add more documentation to ThreadPool and its public methods.
  • Add tests of the library’s functionality.
  • Change calls to unwrap to more robust error handling.
  • Use ThreadPool to perform some task other than serving web requests.
  • Find a thread pool crate on crates.io and implement a similar web server using the crate instead. Then compare its API and robustness to the thread pool we implemented.