Router

Hirola is un-opinionated in route management. It should be pretty easy to roll out your own. To enable the inbuilt router use the feature flag app.

let mut app = App::new(());
app.route("/", home);
app.route("/todo/:id", todo_view);
app.mount();