1 2 3 4 5 6 7 8 9 10 11 12 13
#[macro_use] extern crate rocket; mod git; mod index; mod config; use rocket_dyn_templates::Template; #[launch] fn rocket() -> _ { rocket::build() .mount("/", routes![index::index]) .attach(Template::fairing()) }