web_server 0.3.1

Small and dependency-less crate for creating HTTP servers
Documentation
1
2
3
4
5
6
7
use std::path::Path;

fn main() {
    web_server::new()
        .get("/", |_, _| Path::new("examples/sw.png").into())
        .launch(8080);
}