git clone https://github.com/Sakura1943/simple_server.ggit
cd simple_server
cargo build --release
cd target/release
cp -f ./simple_server /usr/bin
default
simple_server # default port: 8000, dir: ./, host: 127.0.0.1, index_file: index.html
custom
simple_server -p[--port] 3000 -b[--bind] 0.0.0.0 -d[--dir] ./public -i[--index-file] index.htm
help
simple_server --help