#http #ftp #static-webserver

app mash-http

A Minimal Asynchronous Static HTTP web server written in rust

1 unstable release

0.9.1 Sep 27, 2022

#816 in HTTP server

MIT license

33KB
654 lines

Mash

A Minimal Asynchronous HTTP web server written in rust

Install

Install via crates.io

Usage

 mash --help
mash 0.9.1
A minimal asynchronous static http webserver written in rust

USAGE:
    mash [OPTIONS] [PATH]

ARGS:
    <PATH>    Path for webserver to run (Defaults to current working directory) [default: .]

OPTIONS:
    -h, --host <HOST>    Host IP of the server [default: 0.0.0.0]
        --help           Print help information
    -p, --port <PORT>    Port for the server [default: 8080]
    -V, --version        Print version information

Asciinema

asciicast

Dependencies

~5–13MB
~121K SLoC