podbringer/src/main.rs

20 lines
446 B
Rust
Raw Normal View History

#![doc = include_str!("../README.md")]
2022-05-17 11:15:22 +02:00
#![warn(
clippy::all,
missing_copy_implementations,
2022-05-17 11:15:22 +02:00
missing_debug_implementations,
rust_2018_idioms,
rustdoc::broken_intra_doc_links,
trivial_numeric_casts
2022-05-17 11:15:22 +02:00
)]
#![deny(missing_docs)]
2022-05-17 11:15:22 +02:00
/// Sets up and launches Rocket.
#[rocket::main]
async fn main() -> Result<(), rocket::Error> {
2022-05-17 11:15:22 +02:00
let rocket = podbringer::setup();
let _ = rocket.ignite().await?.launch().await?;
Ok(())
}