Fix all compiler warnings across server and client

- Remove unused ServerConfig struct (config via CLI args)
- Remove unused otpks field from Database (not yet needed)
- Wire AppError into message routes with proper error propagation
- Remove unused imports in send.rs (Seed, MessageContent, etc.)
- Suppress dead_code on BundleResponse.fingerprint (needed by serde)

Zero warnings, 17/17 tests pass.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Siavash Sameni
2026-03-26 22:16:11 +04:00
parent 60a7006ed9
commit 94b845eb5b
6 changed files with 25 additions and 29 deletions

View File

@@ -1,4 +1,2 @@
pub struct ServerConfig {
pub bind_addr: String,
pub data_dir: String,
}
// Server configuration — currently handled via CLI args in main.rs.
// This module will be used when file-based configuration is added.