返回 Bug 清单
BUG-0027project-35低已修复rust-build
OmniTruthClient 缺 cfg(feature = "remote") 条件编译
发现:2026-09-30验证:2026-10-09置信度:85%
症状
`OmniTruthClient` 使用了 `reqwest` 依赖但未使用 `#[cfg(feature = "remote")]` 进行条件编译,导致默认编译时 reqwest 依赖未启用而编译失败。
根因
缺少条件编译保护,可选功能模块未被包装在 feature gate 内。
修复方案
(`7755e5d`):为 `OmniTruthClient` 添加 `#[cfg(feature = "remote")]` 条件编译。
修复命令
(`7755e5d`):为 `OmniTruthClient` 添加 `#[cfg(feature = "remote")]` 条件编译。错误签名
缺少条件编译保护,可选功能模块未被包装在 feature gate 内。技术信息
来源项目
project-35
涉及文件
veritas-core/fact/src/lib.rs
标签
rust-build, project-35