Skip to content

chore(deps): take the SDK from crates.io 5.5.0 instead of a git pin - #358

Merged
hogan-yuan merged 1 commit into
mainfrom
chore/sdk-5-5-from-cratesio
Nov 23, 2026
Merged

hogan-yuan merged 1 commit into
mainfrom
chore/sdk-5-5-from-cratesio

Conversation

@hogan-yuan

Copy link
Copy Markdown
Member

Follow-up to #357, which pinned the SDK by rev while 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 update moved every longbridge crate from the git source to crates.io at the same 5.5.0, and touched nothing else (266 other dependencies unchanged):

longbridge, longbridge-proto, longbridge-oauth,
longbridge-httpcli, longbridge-wscli, longbridge-geo,
longbridge-candlesticks   git@4fddc667 5.5.0 -> crates.io 5.5.0

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 contain risk_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.
  • The diff is Cargo.toml + Cargo.lock only.

Verification

  • cargo clippy --all-targets reports 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. No src/ file is touched by this PR, and the dependency resolves to identical source, so those lints are unchanged by it.

🤖 Generated with Claude Code

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
@hogan-yuan
hogan-yuan merged commit f2b09cf into main Nov 23, 2026
1 check passed
@hogan-yuan
hogan-yuan deleted the chore/sdk-5-5-from-cratesio branch November 23, 2026 02:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant