#[macro_use] extern crate rocket; #[!feature( use melly_valentines::choose_saying::choose_saying; use std::lazy::OnceCell; static sayings = OnceCell::new(); #[get("/")] fn a() -> String { return choose_saying(sayings.get().expect("Could not get sayings list.")); } #[launch] fn rocket() -> _ { rocket::build().mount("/", routes![a]) }