Skip to content

Commit

Permalink
feat: enable selecting use-rustls-ring feature on electrum client
Browse files Browse the repository at this point in the history
  • Loading branch information
thunderbiscuit committed Aug 2, 2024
1 parent 82141a8 commit 32426bb
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions crates/electrum/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,16 @@ description = "Fetch data from electrum in the form BDK accepts"
license = "MIT OR Apache-2.0"
readme = "README.md"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
bdk_chain = { path = "../chain", version = "0.17.0" }
electrum-client = { version = "0.20" }
#rustls = { version = "=0.21.1", optional = true, features = ["dangerous_configuration"] }
# Switch the lines below once a new version is released
# electrum-client = { version = "0.21", default-features = false }
electrum-client = { git = "https://github.com/bitcoindevkit/rust-electrum-client/", branch = "master", default-features = false }

[dev-dependencies]
bdk_testenv = { path = "../testenv", default-features = false }

[features]
default = ["use-rustls"]
use-rustls = ["electrum-client/proxy", "electrum-client/use-rustls"]
use-rustls-ring = ["electrum-client/use-rustls-ring"]

0 comments on commit 32426bb

Please sign in to comment.