pub fn rocket() -> rocket::Rocket<Build> {
    rocket::build()
        .mount("/api",
               routes![
            routes::users::signup,
            routes::users::login,
            routes::users::put_preferred_name,
            routes::users::put_password,
            routes::users::get_user,

            routes::lists::create_list,
            routes::lists::get_lists,
            routes::lists::get_list,
            routes::lists::put_list,
            routes::lists::put_item,
            routes::lists::delete_list,
            routes::lists::post_item,
            routes::lists::delete_item,
        ])
        .attach(database::PostgresDbConn::fairing())
        .register("/api", catchers![not_found])
}
/// Builds the Rocket instance to use.
Builds the Rocket instance to use.
Builds the Rocket instance to use .
pub fn rocket() -> rocket::Rocket<Build> {
    rocket::build()
        .mount("/api",
               routes![
            routes::users::signup,
            routes::users::login,
            routes::users::put_preferred_name,
            routes::users::put_password,
            routes::users::get_user,
            routes::lists::create_list,
            routes::lists::get_lists,
            routes::lists::get_list,
            routes::lists::put_list,
            routes::lists::put_item,
            routes::lists::delete_list,
            routes::lists::post_item,
            routes::lists::delete_item,
        ])
        .attach(database::PostgresDbConn::fairing())
        .register("/api", catchers![not_found])
}
pub fn rocket ( ) -> rocket :: Rocket < Build > { rocket :: build ( ) . mount ( " " , routes ! [ routes users signup routes users login routes users put_preferred_name routes users put_password routes users get_user routes lists create_list routes lists get_lists routes lists get_list routes lists put_list routes lists put_item routes lists delete_list routes lists post_item routes lists delete_item ] ) . attach ( database :: PostgresDbConn :: fairing ( ) ) . register ( " " , catchers ! [ not_found ] ) }
Builds the Rocket instance to use.
Builds the Rocket instance to use .