athene 2.0.4

A simple and lightweight rust web framework based on hyper
Documentation
1
2
3
4
5
6
7
use athene::prelude::*;

#[tokio::main]
async fn main() -> Result<()> {
    let app = athene::new().router(|r| r.get("/**", StaticDir::new("athene").listing(true)));
    app.listen("127.0.0.1:7878").await
}