-
Notifications
You must be signed in to change notification settings - Fork 311
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
Enable selecting use-rustls-ring feature on electrum client #1491
Enable selecting use-rustls-ring feature on electrum client #1491
Conversation
0fda8c1
to
1367d5c
Compare
b52cf0a
to
4e85341
Compare
Quick update @oleonardolima: I added a default feature that in turn uses the rustls default features on the electrum client. This way this PR doesn't break anyone's code while offering the option for ring. |
4e85341
to
fa35ed9
Compare
fa35ed9
to
730831c
Compare
Is it possible to set up the features so that you don't have to set Not a big deal but a little nicer for the user |
IIRC its doing this way, in order to match default features being the usage of dependencies default features too. (Although I agree and think it's better ergonomics for the BDKs user to not have to default-features = false |
730831c
to
a0d0fa3
Compare
Hey @thunderbiscuit do you know if it be possible to get this merged in soon? I was using bdk_electrum set to this branch, but i'm getting version mismatch errors on bdk_chain package. |
a0d0fa3
to
3ba7b0c
Compare
Sorry folks I'm coming back to this. Would love to get it merged for the summit.
The way to do this would be to disable rustls as a default feature completely and force users to choose either the Sorry to tag but here are some interested parties in this PR: See the sister discussion on bitcoindevkit/rust-electrum-client#135. This will fix a number of users' builds (BDK bindings, Anchorwatch, Cove). I want to make sure we get it in for the next release. |
3ba7b0c
to
9a8fc8f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK 9a8fc8f
9a8fc8f
to
513ea22
Compare
513ea22
to
32426bb
Compare
32426bb
to
c5277fc
Compare
Rebased and ready for final review. |
c5277fc
to
f965f95
Compare
Thanks for the review @oleonardolima @tnull! I just got to your comments today. Rebased and fixed now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK f965f95
ACK f965f95 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK f965f95
This PR is a companion to bitcoindevkit/rust-electrum-client#135. It enables choosing the
ring
dependency on rustls instead of the new default (as of 0.23.0)aws-lc-rs
. The AWS dependency breaks the Android and Swift builds. I wrote a more detailed explanation on #135.Notes to the reviewers
Do not merge before:
Changelog notice
Checklists
All Submissions:
cargo fmt
andcargo clippy
before committing