piping-server
Piping Server written in Rust
Purpose
Faster Piping Server than ever
- Faster is better
- Low memory cost
- Machine-friendly implementation
Why Rust?
Safe, Fast and No garbage collection (GC)
Run a server
You can choose some ways to run a server.
Way 1: Binary
Executable files are available on GitHub Release for Linux and macOS. You can download it and run it.
The executable file for Linux is portable because it is statically linked.
Way 2: Docker
Run a Piping Server on http://localhost:8181 by the following command.
docker run -p 8181:8080 --init nwtgck/piping-server-rust
Way 3: Cargo
You can clone, build and run this project as follows.
git clone https://github.com/nwtgck/piping-server-rust.git
cd piping-server-rust
cargo run --release
Server-side help
Piping Server in Rust
USAGE:
piping-server [FLAGS] [OPTIONS]
FLAGS:
--enable-https Enable HTTPS
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
--crt-path <crt-path> Certification path
--http-port <http-port> HTTP port [default: 8080]
--https-port <https-port> HTTPS port
--key-path <key-path> Private key path