Repository navigation
chore(deps): take the SDK from crates.io 5.5.0 instead of a git pin - #358
Merged
Merged
Conversation
5.5.0 is published, and it was cut from 4fddc6675 — the exact commit the `[patch.crates-io]` entry pinned — so this swaps the source without changing a line of SDK code: every longbridge crate in the lockfile moves from the git source to crates.io at the same 5.5.0. - `longbridge = "5.3.0"` -> `"5.5"`; the old requirement would have resolved to 5.4.0, which does not contain `risk_assessment` - drop `[patch.crates-io]` and the note explaining why it existed
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.
Follow-up to #357, which pinned the SDK by
revwhile 5.5.0 was still unreleased. 5.5.0 is now on crates.io, so the pin can go.Why this is a no-op for the code
5.5.0 was cut from
4fddc66752b47444a252582e99af0f022eea8467— the exact commit[patch.crates-io]pinned.cargo updatemoved every longbridge crate from the git source to crates.io at the same 5.5.0, and touched nothing else (266 other dependencies unchanged):Changes
longbridge = "5.3.0"→"5.5". The old requirement is^5.3.0, which resolves to 5.4.0 — a release that does not containrisk_assessment. Dropping the patch without bumping the requirement would not compile, which is why both happen in one commit.[patch.crates-io]and its explanatory note removed.Cargo.toml+Cargo.lockonly.Verification
cargo clippy --all-targetsreports no new findings. It does surface 68 pre-existing pedantic lints in test code (tests/schema_cli.rs,src/ai/tui.rs,src/cli/statement.rs, …); none involve SDK types and none are compile errors. Nosrc/file is touched by this PR, and the dependency resolves to identical source, so those lints are unchanged by it.🤖 Generated with Claude Code