GitXplorerGitXplorer
n

piping-server-rust

public
297 stars
20 forks
16 issues

Commits

List of commits on branch develop.
Verified
b91778df8d409e60977d2cd717e8658e4f6be5ab

build(deps): bump auto_enums from 0.8.6 to 0.8.7 (#675)

ddependabot[bot] committed a day ago
Verified
d18746ec8774163765689fe59b7681977b5dacab

build(deps): bump pin-project-lite from 0.2.15 to 0.2.16 (#668)

ddependabot[bot] committed 5 days ago
Verified
3a9fb58d052d2daa34074103d30e4a8db1697d82

build(deps): bump rust from 1.83.0 to 1.84.0 (#673)

ddependabot[bot] committed 5 days ago
Verified
d3f8da207e2cc2135bca375153a216043d6146ac

build(deps): bump h2 from 0.4.2 to 0.4.7 (#667)

ddependabot[bot] committed 14 days ago
Verified
f73b4cf43a911054712c91d7b9be303744a0d88b

build(deps): bump mio from 0.8.10 to 0.8.11 (#666)

ddependabot[bot] committed 14 days ago
Verified
717b1d8239f800331e2ba382ca09832df3976e7a

build(deps): bump http from 1.1.0 to 1.2.0 (#656)

ddependabot[bot] committed 14 days ago

README

The README file for this repository.

piping-server

CI Docker Image Size (latest by date)

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 nwtgck/piping-server-rust

Way 2: Binary for Linux

# Download and extract
curl -L https://github.com/nwtgck/piping-server-rust/releases/download/v0.18.0/piping-server-x86_64-unknown-linux-musl.tar.gz | tar xzf -
# Run on 8181 port
./piping-server-x86_64-unknown-linux-musl/piping-server --http-port=8181

Way 3: Binary for macOS (Intel)

# Download and extract
curl -L https://github.com/nwtgck/piping-server-rust/releases/download/v0.18.0/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

Way 4: Binary for macOS (Apple Silicon)

# Download and extract
curl -L https://github.com/nwtgck/piping-server-rust/releases/download/v0.18.0/piping-server-aarch64-apple-darwin.tar.gz | tar xzf -
# Run on 8181 port
./piping-server-aarch64-apple-darwin/piping-server --http-port=8181

Way 5: Windows

https://github.com/nwtgck/piping-server-rust/releases/download/v0.18.0/piping-server-x86_64-pc-windows-gnu.zip

Executable files are available on GitHub Release.

Way 6: Replit

Click Fork button in the link below and fork it.

https://replit.com/@nwtgck/piping-rust

Way 7: 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
cargo build --release
# Run on 8181 port
./target/release/piping-server --http-port=8181

Server-side help

Piping Server in Rust

Usage: piping-server [OPTIONS]

Options:
      --host <HOST>              Bind address, either IPv4 or IPv6 (e.g. 127.0.0.1, ::1) [default: 0.0.0.0]
      --http-port <HTTP_PORT>    HTTP port [default: 8080]
      --enable-https             Enable HTTPS
      --https-port <HTTPS_PORT>  HTTPS port
      --crt-path <CRT_PATH>      Certification path
      --key-path <KEY_PATH>      Private key path
      --version                  Print version
  -h, --help                     Print help