webserver

Minimalistic HTTP Server

Build Status

Based on the multithreaded example in the Rust Book.

This is not a production ready webserver!

The goal of this project is to extend the basic implementation from the book with some useful features to learn Rust.

Build and Run

To build the webserver just run Cargo in the project root directory:

cargo build

Make your config:

cp etc/config.example.toml etc/config.toml

For a first test the defaults of the example config should work.

And then invoke the binary with a path to a web root directory in the project root directory:

./target/debug/webserver -c etc/config.toml

or run it by cargo:

cargo run -- -c etc/config.toml

Wanted features