Files
memoryweave/rust/Cargo.toml
T
xiaoyi 57d6e15a27 fix(guard): t_661b3336 锚点闸门 v5(影子默认)+ 空壳来源定位;补 Cargo 引用的 3 个只读扫描 bin 源码(.gitignore 的 bin/ 会吞掉它们)
- distill/payload_guard.go: IsAnchorGateEmptyShell / AnchorGateCheck(enabled:false 影子模式,命中只记日志+计数)
- api/server.go 写路径接入 + metrics zhiyi_distill_anchor_gate_blocks_total / zhiyi_distill_failure_total
- rust/src/bin/{relscan,epscan,tblprobe}.rs 强制入库(Cargo.toml 已引用,否则新克隆构建失败)
- 空壳来源:category=wiki 的文档表格行被当对话蒸馏(蒸馏不读 Category)
2026-11-16 14:47:19 +08:00

54 lines
1.3 KiB
TOML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[package]
name = "zhiyi-consolidate"
version = "0.1.0"
edition = "2021"
[dependencies]
lancedb = "0.15"
chrono = "0.4"
tokio = { version = "1", features = ["rt"] }
futures = "0.3"
arrow = "53"
arrow-array = "53"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
clap = { version = "4", features = ["derive"] }
reqwest = { version = "0.12", features = ["json", "blocking"] }
# 图谱 SQLite
rusqlite = { version = "0.31", features = ["bundled"] }
tokenizers = "0.23.1"
[features]
default = []
[[bin]]
name = "zhiyi-consolidate"
path = "src/main.rs"
# t_789898bd:存量 importance 回填一次性工具(只写 importance 列,组提交 ~25 版本)。
# 新增 [[bin]] 不影响 zhiyi-consolidate 二进制本身(sidecar 不用重新部署/重启)。
[[bin]]
name = "importance_backfill"
path = "src/bin/importance_backfill.rs"
# t_dcad48e4:Overall(quality_score) 真实分布全表扫描(只读,供 overall-dist-recalc.py 复算)。
# 本机无 Python lancedb 客户端,用此 Rust 工具替代。新增 [[bin]] 不影响 sidecar。
[[bin]]
name = "qs-dist"
path = "src/bin/qs_dist.rs"
# t_de338b22 只读扫描工具(不部署、不进 sidecar)
[[bin]]
name = "relscan"
path = "src/bin/relscan.rs"
[[bin]]
name = "epscan"
path = "src/bin/epscan.rs"
[[bin]]
name = "tblprobe"
path = "src/bin/tblprobe.rs"