refactor configs into a crate

This commit is contained in:
GW_MC
2025-11-27 18:59:40 +08:00
parent bb622df89b
commit 537737b1cc
8 changed files with 249 additions and 221 deletions

View File

@@ -1,7 +1,7 @@
use migration::migrate_database;
use tracing::{debug, info};
use crate::config::ProgramSettings;
use crate::configs::ProgramSettings;
pub async fn run_startup_tasks(config: &ProgramSettings) -> Result<(), Box<dyn std::error::Error>> {
// Here you can add any startup tasks you want to run when the application starts.