httprs 0.2.5

A fast simple command line http server tool
Documentation
1
2
3
4
5
6
7
8
9
10
use clap::Parser;
use httprs::{Configuration, Server};
use std::error::Error;

#[tokio::main]
async fn main() -> Result<(), Box<dyn Error + Send + Sync>> {
    let config = Configuration::parse();
    let server = Server::new(config).await;
    server.run().await
}