style: apply cargo fmt to entire codebase

Standardize code formatting across all 173 Rust source files
using rustfmt. No functional changes - purely cosmetic.

This establishes a consistent code style baseline for the
project going forward.
This commit is contained in:
Dionisio
2026-02-14 01:29:34 +01:00
parent 67137a3ef2
commit 4c98c5a657
173 changed files with 23368 additions and 17590 deletions
+5 -11
View File
@@ -1,11 +1,7 @@
use axum::{
routing::get,
Router,
response::Html,
};
use tower_http::services::ServeDir;
use crate::common::di::AppState;
use crate::common::config::AppConfig;
use crate::common::di::AppState;
use axum::{Router, response::Html, routing::get};
use tower_http::services::ServeDir;
/// Creates web routes for serving static files
pub fn create_web_routes() -> Router<AppState> {
@@ -20,9 +16,7 @@ pub fn create_web_routes() -> Router<AppState> {
.route("/admin", get(serve_admin_page))
.route("/shared", get(serve_shared_page))
// Serve static files
.fallback_service(
ServeDir::new(static_path)
)
.fallback_service(ServeDir::new(static_path))
}
/// Serve the login page
@@ -43,4 +37,4 @@ async fn serve_admin_page() -> Html<&'static str> {
/// Serve the shared page
async fn serve_shared_page() -> Html<&'static str> {
Html(include_str!("../../../static/shared.html"))
}
}