perf(build): close Core feature dependency profiles - #1975
Merged
Conversation
Split lightweight service and SSH facade features from full product composition, remove redundant Core dependency ownership, and guard the recursive feature closure with boundary tests.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
目标
收口 bitfun-core 的轻量 feature 依赖闭包,让局部检查/测试只加载真实能力 owner,同时保持默认 product-full 产品能力与运行时装配不变。
主要变更
依赖闭包
统计口径:cargo tree -p bitfun-core --no-default-features -e normal,build --prefix none 的唯一 name@version 数量;基线为上一治理提交 8717022。
product-full 的能力选择和运行时装配保持不变;减少的 1 个包来自无源码引用的重复直接边,不是裁剪产品功能。
验证
完整 cargo check --workspace --locked 在本地 Tauri build script 处因干净 worktree 缺少未跟踪的 src/mobile-web/dist 构建产物而停止;没有通过修改构建脚本或伪造资源目录绕过,desktop 完整路径交由现有 CI 按既有资源生成流程验证。
风险与兼容性