Rocket/examples/serialization/src/main.rs

16 lines
241 B
Rust
Raw Normal View History

#[macro_use] extern crate rocket;
#[cfg(test)] mod tests;
mod json;
mod msgpack;
mod uuid;
#[launch]
fn rocket() -> _ {
rocket::build()
.attach(json::stage())
.attach(msgpack::stage())
.attach(uuid::stage())
}