Skip to content

Conversation

@tnull
Copy link
Contributor

@tnull tnull commented Nov 24, 2023

Previously, the build dependencies of the genproto feature weren't optional, so they were built even when not required, leading to some breakage downstream (see lightningdevkit/ldk-node#197 and lightningdevkit/ldk-node#207).

However, genproto arguably generally shouldn't be a user-facing feature of this crate, but is rather better hidden behind a cfg flag. Here, we do exactly that, also fixing the issue mentioned above.

(cc @G8XSU)

Previously, the build dependencies of the `genproto` feature weren't
optional, so they were built even when not required, leading to some
breakage downstream.

However, `genproto` arguably generally shouldn't be a user-facing feature of this crate,
but is rather better hidden behind a `cfg` flag. Here, we do exactly
that, also fixing the issue mentioned above.
@G8XSU G8XSU self-requested a review November 27, 2023 18:07
Copy link
Contributor

@G8XSU G8XSU left a comment

Choose a reason for hiding this comment

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

LGTM!

@G8XSU G8XSU merged commit 5adadd1 into lightningdevkit:main Nov 27, 2023
@G8XSU G8XSU mentioned this pull request Nov 28, 2023
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.

2 participants