- 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>
15 lines
293 B
Rust
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;
|
|
}
|