Roa is an async web framework inspired by koajs, lightweight but powerful.
hyper, runtime-independent, you can chose async runtime as you like.# Cargo.toml
[dependencies]
roa = "0.6"
tokio = { version = "1.15", features = ["rt", "macro"] }
```rust,no_run use roa::App; use roa::preload::*;
async fn main() -> anyhow::Result<()> { let app = App::new().end("Hello, World"); app.listen("127.0.0.1:8000", |addr| { println!("Server is listening on {}", addr) })? .await?; Ok(()) } ``` Refer to wiki for more details.