yggdrasil/src/db/mod.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

15 lines
293 B
Rust

#[cfg(feature = "server")]
pub mod pool;
#[cfg(not(feature = "server"))]
#[allow(dead_code)]
pub mod pool {
pub struct DummyPool;
impl DummyPool {
pub async fn get(&self) -> Result<(), ()> {
Err(())
}
}
pub static DB_POOL: DummyPool = DummyPool;
}