Skip to content

Conversation

@tnull
Copy link
Collaborator

@tnull tnull commented Nov 5, 2025

We previously added a bunch of commented-out rust-lightning dependencies in our Cargo.toml to be able to easily switch between rust-lightning locations. However, this is exactly what the [patch] command is for, which in particular also allows to patch a dependency for the whole tree, not only this one project.

Therefore, we move the examples to a commented-out patch section.

We previously added a bunch of commented-out `rust-lightning`
dependencies in our `Cargo.toml` to be able to easily switch between
`rust-lightning` locations. However, this is exactly what the `[patch]`
command is for, which in particular also allows to patch a dependency
for the whole tree, not only this one project.

Therefore, we move the examples to a commented-out `patch` section.
@tnull tnull requested a review from joostjager November 5, 2025 10:25
@ldk-reviews-bot
Copy link

ldk-reviews-bot commented Nov 5, 2025

👋 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.

.. which might be necessary for it to be able to run successfully.
@tnull
Copy link
Collaborator Author

tnull commented Nov 5, 2025

Also added anther chore commit that elevates the weekly rustfmt workflow permissions. We'll see if that is sufficient for it to be able to create PRs.


permissions:
contents: write
pull-requests: write
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe run it hourly temporarily to see if this fixes it?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Well, no, after this is merged I can just manually run it in Github UI.

@tnull tnull merged commit bdb45a4 into lightningdevkit:main Nov 5, 2025
17 checks passed
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.

3 participants