rocket 0.5.1

Web framework with a focus on usability, security, extensibility, and speed.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#![allow(dead_code)] // This test is only here to ensure it compiles.
#![allow(unused_variables)] // This test is only here to ensure it compiles.

mod a {
    /// Docs.
    #[rocket::post("/typed_uris/<id>")]
    fn simple(id: i32) { }
}

mod b {
    /// Docs.
    #[rocket::post("/typed_uris/<id>")]
    fn simple(id: i32) { }
}