Skip to content

Conversation

@tnull
Copy link
Collaborator

@tnull tnull commented Jan 21, 2026

Fixes #758.

For convenience we added ready-to-go patch setions to Cargo.toml, which however only allowed us to quickly override official LDK releases.

Here we also add the corrsponding counterparts for LDK git dependencies.

For convenience we added ready-to-go `patch` setions to `Cargo.toml`,
which however only allowed us to quickly override official LDK releases.

Here we also add the corrsponding counterparts for LDK `git`
dependencies.
@tnull tnull requested a review from joostjager January 21, 2026 09:57
@ldk-reviews-bot
Copy link

ldk-reviews-bot commented Jan 21, 2026

👋 Thanks for assigning @joostjager as a reviewer!
I'll wait for their review and will help manage the review process.
Once they submit their review, I'll check if a second reviewer would be helpful.

#vss-client-ng = { path = "../vss-client" }
#vss-client-ng = { git = "https://github.com/lightningdevkit/vss-client", branch = "main" }
#
#[patch."https://github.com/lightningdevkit/rust-lightning"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With multiple patch sections, idk if it is still better than just having a commented-out section in the regular location (no patch)?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is. Note that patch is fundamentally different in that it will transitively patch the dependency for all sub-dependencies. So if you patch in LDK Node, you won't need to have it point to a changed version of bitcoin-payments-instruction also pointing to the same LDK dependency, etc.

In the last few days there was incompatibility of `cargo-semver-checks`
with the new stable Rust 1.93.0. While this should fixed by today's
release of `cargo-semver-checks`, we take the opportunity to drop an
unnecessary install step from the CI workflow, as the action will bring
their own Rust version if not configured otherwise.
@tnull
Copy link
Collaborator Author

tnull commented Jan 23, 2026

Now also included a commit that drops an unnecessary step from the SemVer CI workflow.

@tnull tnull requested a review from joostjager January 23, 2026 08:36
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.

[patch.crates-io] does not patch git dependencies in Cargo.toml

3 participants