Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated re-exports #3359

Merged
merged 4 commits into from
Oct 18, 2024

Conversation

TheBlueMatt
Copy link
Collaborator

This removes the re-exports that were deprecated in 0.0.124 and adds one more deprecation. Almost fixes #3251 but doesn't cause of the last deprecation addition, at least it fixes it for the purposes of 0.1.

@TheBlueMatt TheBlueMatt added this to the 0.1 milestone Oct 12, 2024
@TheBlueMatt TheBlueMatt force-pushed the 2024-10-less-types-re-export branch from 409c2e0 to 42b89a9 Compare October 12, 2024 22:19
Copy link

codecov bot commented Oct 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.67%. Comparing base (ad19d93) to head (57dcc7d).
Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3359      +/-   ##
==========================================
+ Coverage   89.61%   89.67%   +0.05%     
==========================================
  Files         127      127              
  Lines      103533   103822     +289     
  Branches   103533   103822     +289     
==========================================
+ Hits        92785    93106     +321     
+ Misses       8051     8045       -6     
+ Partials     2697     2671      -26     

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

@TheBlueMatt TheBlueMatt force-pushed the 2024-10-less-types-re-export branch from 42b89a9 to a9f6ecc Compare October 12, 2024 23:25
These were deprecated in 0.0.124, and we drop them here in favor of
`lightning::types::features::*`.
@TheBlueMatt TheBlueMatt force-pushed the 2024-10-less-types-re-export branch 3 times, most recently from 800715e to 7d7d739 Compare October 13, 2024 17:22
Copy link
Contributor

@tnull tnull left a comment

Choose a reason for hiding this comment

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

Unfortunately CI fails in the RUSTFLAGS=' --cfg=ldk_test_vectors'step

@TheBlueMatt TheBlueMatt force-pushed the 2024-10-less-types-re-export branch 2 times, most recently from b27c380 to 376755d Compare October 15, 2024 14:09
@TheBlueMatt
Copy link
Collaborator Author

Fixed, plus taproot build.

These re-exports were deprecated in 0.0.124 in favor of the
`lightning::types::payment::*` paths, which we use here.
Like we've done for `features` and `payment`, here we mark the
`lightning::util::string` re-export as deprecated.
@TheBlueMatt TheBlueMatt force-pushed the 2024-10-less-types-re-export branch from 376755d to 57dcc7d Compare October 15, 2024 14:47
G8XSU
G8XSU previously approved these changes Oct 17, 2024
Now that the module only contains some implementations of
serialization for the `lightning_types::features` structs, there's
no reason for it to be public.
@TheBlueMatt TheBlueMatt force-pushed the 2024-10-less-types-re-export branch from ac000bd to b5b3860 Compare October 17, 2024 19:39
@G8XSU G8XSU merged commit 608209e into lightningdevkit:main Oct 18, 2024
19 of 21 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.

Move lightning::ln::types::* to lightning-types
3 participants