The Wayback Machine - https://web.archive.org/web/20200906172229/https://github.com/shaunwarman/basic-http-server/
Skip to content
master
Go to file
Code
This branch is 152 commits behind brson:master.

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Jan 18, 2016
Jul 24, 2017
Jul 24, 2017

README.md

A simple HTTP static file server written in Rust with async hyper.

The source is simple, and commented for easy comprehension.

USAGE:
        basic-http-server [FLAGS] [OPTIONS] [ARGS]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -a, --addr <ADDR>    Sets the IP:PORT combination (default "127.0.0.1:4000")

ARGS:
    ROOT    Sets the root dir (default ".")

Installation and Use

Use cargo install:

$ cargo install basic-http-server
$ basic-http-server

If you prefer to not use cargo install, clone the repo and then cargo run --release -- $DIRECTORY.

License

MIT/Apache-2.0

About

A static file server in Rust

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.