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

@@ -23,6 +23,7 @@ struct SendRequest {
}
#[derive(Deserialize)]
#[allow(dead_code)]
struct BundleResponse {
fingerprint: String,
bundle: String, // base64