NW
nwtgck/tiny-http-piping-server-rust
Piping Server written in Rust with tiny-http
tiny-http-piping-server
Piping Server written in Rust (tiny-http)
Purpose
Faster Piping Server than ever
This has the same purpose as https://github.com/nwtgck/piping-server-rust.
- Faster is better
- Low memory cost
- Machine-friendly implementation
Why Rust?
Safe, Fast and No garbage collection (GC)
Why tiny-http?
The project above uses Hyper. However, tiny-http is easier to write low level HTTP server.
Run a server
You can choose Cargo or Docker to run a server.
Cargo
cargo run --releaseDocker
Run a Piping server on http://localhost:8181 by the following command.
docker run -p 8181:8080 --init nwtgck/tiny-http-piping-server-rustServer-side help
Piping Server in Rust (tiny-http)
USAGE:
tiny-http-piping-server [OPTIONS]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
--http-port <http-port> HTTP port [default: 8080]