When locally developing a static web site it can quite useful to be able to run a small web server and be able to see the results.
Rustatic provides this service.
``` git clone https://github.com/szabgab/rustatic cd rustatic cargo run -- --help cargo run -- --version
cargo run -- --path /some/path/where/you/have/your/static/site --host 127.0.0.1 --port 5000 ```
path
defaults to the current directoryhost
defaults to 127.0.0.1port
defaults to 5000indexfile
if provided then accessing a directory will yield the contenct of this file. Usually people have index.html
.