mirror of https://github.com/rwf2/Rocket.git
12 lines
155 B
Rust
12 lines
155 B
Rust
|
#![feature(plugin)]
|
||
|
#![plugin(rocket_macros)]
|
||
|
|
||
|
extern crate rocket;
|
||
|
|
||
|
#[get("")]
|
||
|
fn get() -> &'static str { "hi" }
|
||
|
|
||
|
fn main() {
|
||
|
let _ = routes![get];
|
||
|
}
|