#![feature(plugin)] #![plugin(rocket_codegen)] extern crate rocket; #[cfg(test)] mod tests; #[get("/")] fn hello() -> &'static str { "Hello, world!" } fn main() { rocket::ignite().mount("/", routes![hello]).launch(); }