A simple HTTP static file server written in Rust with rotor-http.
The source is simple, and commented for easy comprehension.
``` USAGE: basic-http-server [FLAGS] [OPTIONS] [ARGS]
FLAGS: -h, --help Prints help information -V, --version Prints version information
OPTIONS:
-a, --addr
ARGS: ROOT Sets the root dir (default ".")
```
Since it depends on bleeding-edge rotor it can't be installed through Cargo yet.
Clone the repo and then cargo run --release -- $DIRECTORY
.
MIT/Apache-2.0