A Cross-platform, minimal, Rust Written, multithreaded Web-Server using threadpool
- Single-threaded β multithreaded with a custom thread pool
- Serves static files from a
public/folder in its directory. - Graceful shutdown on Ctrl+C
- Proper HTTP/1.1 responses (200 OK, 404 Not Found, 400 Bad Request, etc.)
- Sleeps 5 seconds on
/sleepto demonstrate thread pool behavior
git clone https://github.com/VkianV/tidepool.git
cd tidepool
cargo run --releaseit is recommended to clone and compile the source code using cargo on your system, though the binary of this project is also available in the release section of this page.
don't forget to add your own public directory to the project with its html/css/js files.