-
Notifications
You must be signed in to change notification settings - Fork 371
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
Move lightning::ln::types::*
to lightning-types
#3251
Comments
I do kinda prefer we re-export somewhere, and given our current paths are |
Right, we can keep the re-export, although longer term I'd prefer a single one via |
So maybe we re-export it as |
I don't think you can currently deprecate a re-export? rust-lang/rust#30827 But still, switching to |
IMO we already have a good bit of API breakage in this release, it'd be kinda nice to put off yet more until the next one. |
Right, I meant we can still keep the double-reexport even though we can't deprecate one of them? But yeah, also not too important to do it right away. IMO we should fix the inconsistency mentioned above before the release though. |
I don't see much reason to move |
Maybe worth moving some things to |
Sadly |
I don't see any such dependency - the type contains just Anyway, no pressure, just feel free to ping me any time you want the crate. :) |
Yea, I was mostly referring to not wanting to deal with extension traits, which make docs super confusing for people :/. |
Untagging from 0.0.124 post-#3253, but moving to 0.1 to resolve the deprecateds by removing the old re-exports. |
Oops, github was a bit eager. We made more progress, but sadly #3359 deprecated one more set of exports which we'll want to remove in 0.2... |
Follow-up to #3234
IMO, it's confusing that we now have both
lightning::ln::types::*
andlightning-types
.E.g.,
ChannelId
is currently still inlightning::ln::types
, should we move it tolightning-types
?The text was updated successfully, but these errors were encountered: