=========================================== wesers - a simple HTTP/HTTPS server in Rust =========================================== // 127.0.0.1 - - [03/Aug/2016 12:15:30] "GET /favicon.ico HTTP/1.1" 404 - need request time, HTTP version .. contents:: Table of Contents Installation ======================================== (You need to compile with nightly, now) If you want to build from source, make sure you are using nightly toolchain ! Without HTTPS support ------------------------------ Install with .. code-block:: sh cargo install --git https://github.com/wdv4758h/wesers or .. code-block:: sh cargo install --git https://github.com/wdv4758h/wesers --tag v0.4.1 If you want to download prebuilt binary, you can visit `GitHub's release page `_ With HTTPS support ------------------------------ Install with .. code-block:: sh cargo install --git https://github.com/wdv4758h/wesers --features https or .. code-block:: sh cargo install --git https://github.com/wdv4758h/wesers --tag v0.4.1 --features https Usage ======================================== .. code-block:: sh $ wesers --help wesers 0.4.1 Chiu-Hsiang Hsu a simple HTTP/HTTPS server in Rust USAGE: wesers [FLAGS] [OPTIONS] FLAGS: -h, --help Prints help information --https use HTTPS instead of HTTP -V, --version Prints version information OPTIONS: --cert SSL certificate file (needed for HTTPS) --index auto detect index.html [default: true] --ip binding IP [default: 127.0.0.1] --key SSL key file (needed for HTTPS) --port binding port [default: 8000] --root root directory [default: .] --template