http-server 0.1.0

Simple and configurable command-line HTTP server
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use http_server::run;

#[tokio::main]
async fn main() {
    match run().await {
        Ok(_) => println!("Execution terminated with success"),
        Err(e) => {
            eprintln!("An error ocurred executing the HTTP Server");
            eprintln!("{}", e.to_string())
        }
    }
}