From 6bfb2e06cea0f39ac64c5bfaca4dea05610fa97e Mon Sep 17 00:00:00 2001 From: altair823 Date: Sat, 2 May 2026 04:33:52 +0000 Subject: [PATCH] =?UTF-8?q?chore(cargo):=20trim=20dev/test=20debug=20info?= =?UTF-8?q?=20=E2=80=94=20line-tables-only=20+=20split-debuginfo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit dev/test profile 의 DWARF 디버그 정보 양을 줄이고 별도 .dwo 파일로 분리해서 target/ 디스크 사용량 절감. ## 동작 영향 없음. line-tables-only 는 line 번호는 유지하고 column 번호만 뺌 (backtrace 함수+라인 다 보임). split-debuginfo 는 symbol 정보를 별도 파일에 둘 뿐 binary codegen / opt-level 동일. 즉 컴파일러가 만드는 코드는 byte-identical. release profile 안 건드림 → CI / `cargo run --release` 는 upstream default 와 동일. ## Cargo.toml 코멘트 rename leftover 도 같이 정리 워크스페이스 root `Cargo.toml` 의 dep 코멘트 5 곳에 `kb-eval` / `kb-store-sqlite` / `kb-store-vector` / `kb-rag` / `kb-llm-local` 옛 이름 남아있던 거 `kebab-*` 로 갱신 (rename PR #29 sweep 이 crates/ + docs/ + tasks/ 만 대상으로 해서 빠진 부분). ## 검증 - `cargo build --workspace` clean (fresh build). - `cargo test --workspace --no-fail-fast -j 1` clean (모든 테스트 green; 0 FAILED). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.7 (1M context) --- Cargo.toml | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index b2ece6e..ef10989 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,7 +33,7 @@ anyhow = "1" thiserror = "2" serde = { version = "1", features = ["derive"] } serde_json = "1" -# Golden-fixture loader (P5-1, kb-eval) parses YAML; pinned in the +# Golden-fixture loader (P5-1, kebab-eval) parses YAML; pinned in the # workspace so future eval-adjacent crates share the same major. serde_yaml = "0.9" time = { version = "0.3", features = ["serde", "macros", "formatting", "parsing"] } @@ -41,7 +41,7 @@ uuid = { version = "1", features = ["v7", "serde"] } blake3 = "1" tracing = "0.1" # `bundled` ships SQLite source so the workspace doesn't depend on a -# system libsqlite3 (matches the kb-store-sqlite feature set). +# system libsqlite3 (matches the kebab-store-sqlite feature set). rusqlite = { version = "0.32", features = ["bundled"] } globset = "0.4" tempfile = "3" @@ -52,7 +52,7 @@ proptest = "1" # remains untested for this workspace). fastembed = "4.9" # LanceDB embedded vector store (P3-3). 0.23.x pulls arrow / arrow-array / -# arrow-schema 56.x transitively (via lance 1.0); the kb-store-vector +# arrow-schema 56.x transitively (via lance 1.0); the kebab-store-vector # crate matches that major to share the same Arrow types without a # re-export adapter. lancedb = { version = "0.23", default-features = false } @@ -61,11 +61,25 @@ arrow-array = "56" arrow-schema = "56" tokio = { version = "1", features = ["rt", "macros"] } futures = "0.3" -# Strict citation-marker extraction in kb-rag (P4-3) needs a single regex +# Strict citation-marker extraction in kebab-rag (P4-3) needs a single regex # pass; pulled into the workspace deps so future crates can share the # same major. regex = "1" -# Dev-only HTTP mock server for kb-llm-local Ollama adapter tests. Requires +# Dev-only HTTP mock server for kebab-llm-local Ollama adapter tests. Requires # a tokio runtime to host its mock server (the runtime adapter crate stays # sync via reqwest::blocking — wiremock is dev-only there). wiremock = "0.6" + +# Disk-footprint trim for dev / test builds. Codegen, opt-level, and +# behavior are unchanged — only DWARF debug info is reduced (line +# numbers kept, column numbers dropped) and split into separate +# `.dwo` files. backtrace stays useful (function + line). release +# profile is untouched, so CI / `--release` runs are byte-identical +# to upstream defaults. +[profile.dev] +debug = "line-tables-only" +split-debuginfo = "unpacked" + +[profile.test] +debug = "line-tables-only" +split-debuginfo = "unpacked"