devserver_lib 0.1.3

A zero configuration library for hosting a local folder via https. Refer to 'devserver' for the command line tool.
Documentation
devserver_lib-0.1.3 has been yanked.

devserver_lib

devserver_lib does (nearly) the minimum necessary to serve a static folder over https://localhost:8080.

usage

extern crate devserver_lib;

fn main() 
{
  devserver_lib::run(&"localhost", 8080, "", /*Auto-reload:*/ true ); // Runs forever serving the current folder on http://localhost:8080
}

dependencies

rust-native-tls

Dependencies only for the reload feature: notify sha-1 base64

Resources to learn from

https://doc.rust-lang.org/book/ch20-00-final-project-a-web-server.html

http://concisecoder.io/2019/05/11/creating-a-static-http-server-with-rust-part-1/