Sign inSign up

nwtgck/piping-server-rust

By nwtgck

Updated about 2 months ago

Image
0

100K+

nwtgck/piping-server-rust repository overview

piping-server

CI CircleCI Docker Image Size (latest by date)

Deploy

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: Docker

Run a Piping Server on http://localhost:8181 by the following command.

docker run -p 8181:8080 --init nwtgck/piping-server-rust
Way 2: Binary for Linux
# Download and extract
curl -L https://github.com/nwtgck/piping-server-rust/releases/download/v0.8.4/piping-server-x86-64-linux.tar.gz | tar xzf -
# Run on 8181 port
./piping-server-x86-64-linux/piping-server --http-port=8181
Way 3: Binary for macOS
# Download and extract
curl -L https://github.com/nwtgck/piping-server-rust/releases/download/v0.8.4/piping-server-x86-64-apple-darwin.tar.gz | tar xzf -
# Run on 8181 port
./piping-server-x86-64-apple-darwin/piping-server --http-port=8181

Executable files are available on GitHub Release for Linux and macOS. The executable file for Linux is portable because it is statically linked.

Way4: Heroku

Click the button bellow to deploy.

Deploy

Way 5: Build and run by yourself

You can clone, build and run piping-server as follows.

# Clone
git clone https://github.com/nwtgck/piping-server-rust.git
cd piping-server-rust
# Build and run on 8181 port
cargo run --release -- --http-port=8181
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

Tag summary

Content type

Image

Digest

sha256:2cc06592f

Size

4.4 MB

Last updated

about 2 months ago

docker pull nwtgck/piping-server-rust