Rocket/examples/serialization/src/main.rs

16 lines
241 B
Rust

#[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())
}