chore: Cargo warnings 清零 — 39→0 (仅剩 sqlx-postgres 外部依赖警告)
Some checks failed
CI / Lint & TypeCheck (push) Has been cancelled
CI / Unit Tests (push) Has been cancelled
CI / Build Frontend (push) Has been cancelled
CI / Rust Check (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / E2E Tests (push) Has been cancelled

- runtime: 移除未使用的 SessionId/Datelike import,修复 unused variable
- intelligence: 模块级 #![allow(dead_code)] 抑制 Hermes 预留代码警告
- mcp.rs/persist.rs/nl_schedule.rs: 标注 #[allow(dead_code)] 保留接口
This commit is contained in:
iven
2026-04-15 01:53:11 +08:00
parent 76d36f62a6
commit ee1c9ef3ea
6 changed files with 11 additions and 4 deletions

View File

@@ -26,6 +26,10 @@
//! - `trigger_evaluator` - 2026-03-26
//! - `persona_evolver` - 2026-03-26
// Hermes 管线子模块:部分函数由 Tauri 命令或中间件 hooks 按需调用,
// 编译期无法检测到跨 crate 引用,统一抑制 dead_code 警告。
#![allow(dead_code)]
pub mod heartbeat;
pub mod compactor;
pub mod reflection;