#[macro_use] extern crate rocket; #[get("/")] fn index() -> &'static str { "Hello, World! This site is being served with rocket, written in Rust! \nCheck out the source code at https://open.tail4949a9.ts.net/rustit_source.html" } #[launch] fn rocket() -> _ { rocket::build().mount("/", routes![index]) }