An open API service indexing awesome lists of open source software.

https://github.com/nwtgck/tiny-http-piping-server-rust

Piping Server written in Rust with tiny-http
https://github.com/nwtgck/tiny-http-piping-server-rust

data-transfer piping-server rust

Last synced: about 1 year ago
JSON representation

Piping Server written in Rust with tiny-http

Awesome Lists containing this project

README

          

# tiny-http-piping-server
[![CircleCI](https://circleci.com/gh/nwtgck/tiny-http-piping-server-rust.svg?style=shield)](https://circleci.com/gh/nwtgck/tiny-http-piping-server-rust) [![](https://images.microbadger.com/badges/image/nwtgck/tiny-http-piping-server-rust.svg)](https://microbadger.com/images/nwtgck/tiny-http-piping-server-rust "Get your own image badge on microbadger.com")

Piping Server written in Rust ([tiny-http](https://github.com/tiny-http/tiny-http))

## Purpose
**Faster Piping Server than ever**
This has the same purpose as .

* 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](https://github.com/hyperium/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
```rs
cargo run --release
```

### Docker
Run a Piping server on by the following command.

```rs
docker run -p 8181:8080 --init nwtgck/tiny-http-piping-server-rust
```

### Server-side help

```txt
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 [default: 8080]

```