use foxhole::{action::Html, Http1, resolve::Get, App, sys, Scope}; fn get(_get: Get) -> Html { Html(String::from("

Foxhole!

")) } fn main() { let scope = Scope::new(sys![get]); println!("Running on '127.0.0.1:8080'"); App::builder(scope) .run::("127.0.0.1:8080"); }