This commit is contained in:
2026-05-22 08:40:04 +02:00
parent 749638b75c
commit 777fcf168e
13 changed files with 74 additions and 56 deletions
+17 -5
View File
@@ -1,7 +1,21 @@
pub mod api;
pub mod api {
pub mod auth;
pub mod catchers;
pub mod mcp;
}
pub mod app;
pub mod core;
pub mod transport;
pub mod core {
pub mod config;
pub mod db;
pub mod validation;
}
pub mod transport {
pub mod execute;
pub mod protocol;
pub mod socket;
}
use app::{apply_schema, build_rocket, connect_database};
use log::info;
@@ -14,8 +28,6 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
apply_schema(&database).await?;
info!("Launching server");
build_rocket(database).launch().await?;
Ok(())
}