hyperbole 0.1.2

Reserved for now near-future use.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! A static fileserver.
use hyper::server::Server;
use hyperbole::{reply, App};

#[tokio::main]
async fn main() -> hyper::Result<()> {
    let app = App::new().not_found(reply::filesystem("."));

    Server::bind(&([127, 0, 0, 1], 8080).into())
        .serve(app.into_make_service())
        .await
}