Sign inSign up

nwtgck/tiny-http-piping-server-rust

By nwtgck

Updated about 6 years ago

Image
0

1.3K

nwtgck/tiny-http-piping-server-rust repository overview

tiny-http-piping-server

CircleCI

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

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

 docker run -p 8181:8080 --init nwtgck/tiny-http-piping-server-rust
Server-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]

Tag summary

Content type

Image

Digest

Size

26.9 MB

Last updated

about 6 years ago

docker pull nwtgck/tiny-http-piping-server-rust