Create RC database layer

This commit is contained in:
NGnius (Graham) committed 2025-05-07 20:23:22 -04:00
1 parent 69c6c54650
commit 77ddeb7891
55 files changed
+2689 -395

No files matched your search

+2 -2
View File
@@ -17,12 +17,12 @@ fn index() -> String {
}
#[rocket::launch]
fn rocket() -> _ {
async fn rocket() -> _ {
env_logger::init();
let args = common::cli::CliArgs::get();
#[allow(unused_mut)]
let mut builder = rocket::build().mount("/", rocket::routes![index])
.manage(args.preloaded());
.manage(args.preloaded().await);
#[cfg(feature = "cardlife")]
{builder = builder.attach(cardlife::stage());}