Skip to content

refactor: merge lightning-custom-message into lightning crate#4386

Open
okekefrancis112 wants to merge 2 commits intolightningdevkit:mainfrom
okekefrancis112:drop_crate
Open

refactor: merge lightning-custom-message into lightning crate#4386
okekefrancis112 wants to merge 2 commits intolightningdevkit:mainfrom
okekefrancis112:drop_crate

Conversation

@okekefrancis112
Copy link

@okekefrancis112 okekefrancis112 commented Feb 5, 2026

Summary

Merges the lightning-custom-message crate into the main lightning crate. The lightning-custom-message crate was originally separated for MSRV reasons, but both crates now require Rust 1.75, making the separation unnecessary.

Backwards Compatibility

The macro remains publicly exported and works identically. Users can now access it via:

use lightning::composite_custom_message_handler;

Closes: #4198

@ldk-reviews-bot
Copy link

ldk-reviews-bot commented Feb 5, 2026

I've assigned @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.

@okekefrancis112 okekefrancis112 force-pushed the drop_crate branch 2 times, most recently from d0ad0e4 to a5a2d77 Compare February 5, 2026 19:44
@codecov
Copy link

codecov bot commented Feb 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.03%. Comparing base (924f77f) to head (1331e84).
⚠️ Report is 12 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4386      +/-   ##
==========================================
- Coverage   86.03%   86.03%   -0.01%     
==========================================
  Files         156      156              
  Lines      103002   102990      -12     
  Branches   103002   102990      -12     
==========================================
- Hits        88620    88606      -14     
- Misses      11873    11878       +5     
+ Partials     2509     2506       -3     
Flag Coverage Δ
tests 86.03% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ldk-reviews-bot
Copy link

🔔 1st Reminder

Hey @joostjager! This PR has been waiting for your review.
Please take a look when you have a chance. If you're unable to review, please let us know so we can find another reviewer.

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.

Drop the lightning-custom-message crate?

2 participants