rusty_express 0.4.3

A simple http server library written in Rust and provide Express-alike APIs. We know that Rust is hard and daunting, so we will make sure your server can be easy to use without fear!
Documentation
extern crate rusty_express;

use rusty_express::prelude::*;
use std::path::PathBuf;

fn main() {
    // define http server now
    let mut server = HttpServer::new();

    //define router directly
    server
        .use_static(PathBuf::from(r".\examples\static"))
        .use_custom_static(
            RequestPath::Explicit("/path/to/folder"),
            PathBuf::from(r".\examples\static"),
        )
        .use_custom_static(
            RequestPath::ExplicitWithParams("/path/to/user/:id"),
            PathBuf::from(r".\examples\static"),
        );

    server.listen(8080);
}