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
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. |
|
ACK f965f95 |
This PR is a companion to bitcoindevkit/rust-electrum-client#135. It enables choosing the
ringdependency 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
Added - bdk_electrum now enables choosing either the `use-rustls` or `use-rustls-ring` featureChecklists
All Submissions:
cargo fmtandcargo clippybefore committing