1 2 3 4 5 6 7 8
#![feature(async_await)] fn main() { let mut app = tide::App::new(()); app.at("/").get(async || "Hello, world!"); app.serve(); }