rocket_codegen 0.2.9

Code generation for the Rocket web framework.
1
2
3
4
5
6
7
8
9
10
11
#![feature(plugin)]
#![plugin(rocket_codegen)]

extern crate rocket;

#[get("/test/<one>/<two>/<three>")]
fn get(one: &str, two: usize, three: isize) -> &'static str { "hi" }

fn main() {
    let _ = routes![get];
}