A simple HTTP static file server written in Rust with may_minihttp, and refer to basic-http-server
- set listen port and root_dir
- cargo run
Port is 8080 and the root_dir is "./" by default, ip is 0.0.0.0 in code fixedly.
And you must cargo run in root directory after installing Rust toolchain
MIT