[chore] Modernize Rust dependency management#954
Merged
Conversation
5e3aa42 to
4079a7a
Compare
4079a7a to
1343eda
Compare
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.
Summary
[workspace.dependencies]and switch direct crate declarations to workspace references where practical.=2.11.1); other upgraded dependencies remain normal Cargo-compatible version ranges.Cargo.lock; validation was run after deleting the local ignored lockfile so dependency resolution is driven by the manifest.Root cause
The original CI failure came from fresh dependency resolution picking a newly published
bitflagsrelease that triggered a macOS Tauri/dispatch2 macro recursion failure. Since this repository intentionally does not commitCargo.lock, the fix keeps that single known-bad resolution constrained inCargo.tomlwhile leaving the broader dependency set on compatible version ranges.The dependency cleanup also reduces direct version drift by moving repeated app/crate declarations to workspace dependencies. Remaining duplicate versions are primarily transitive platform or ecosystem stacks such as Tauri/Wry, Windows bindings, image 0.24/0.25, and ACP/RMCP schema layers, where forcing a single version would require a larger behavior migration.
Validation
pnpm run fmt:rscargo check --workspacecargo test -p bitfun-core --test remote_mcp_streamable_http -- --nocapturecargo test -p bitfun-services-integrations --test git_contracts -- --nocapture(compiled and ran; no tests selected in this target)cargo test -p bitfun-services-integrations --no-rungit diff --check