yggdrasil/src/main.rs
xfy c4dfd1f445 Fix additional clippy warnings and update progress
- Add #[allow(dead_code)] to temporarily unused functions
- Remove unused is_expired() and UserRole::as_str()
- Fix unused variable warnings (token, theme)
- Update progress.txt: mark all stories complete

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-25 17:02:14 +08:00

24 lines
432 B
Rust

mod api;
mod auth;
mod db;
mod models;
mod pages;
mod router;
mod tasks;
mod theme;
use router::AppRouter;
fn main() {
#[cfg(feature = "server")]
{
dotenvy::dotenv().ok();
std::thread::spawn(|| {
let rt = tokio::runtime::Runtime::new().expect("Failed to create Tokio runtime");
rt.block_on(tasks::session_cleanup::run_cleanup());
});
}
dioxus::launch(AppRouter);
}