aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
blob: 03966fc9b2c1ee732d0518b75dc477eba97796d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#![feature(plugin)]
#![plugin(rocket_codegen)]

extern crate rocket;

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

fn main() {
    rocket::ignite()
        .mount("/", routes![index])
        .launch();
}