summaryrefslogtreecommitdiff
path: root/src/main.rs
blob: af7b49a2503d9a460d6df47a0cec9f143405936a (plain)
1
2
3
4
5
6
7
8
9
10
11
#[macro_use] extern crate rocket;

#[launch]
fn rocket() -> _ {
    rocket::build().mount("/", routes![index])
}

#[get("/")]
fn index() -> &'static str {
    "Hello, world!"
}