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 Jun 26, 2024
1 parent 275e069 commit 0fda8c1
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions crates/electrum/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,14 @@ 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.16.0" }
electrum-client = { version = "0.20" }
#rustls = { version = "=0.21.1", optional = true, features = ["dangerous_configuration"] }
bdk_chain = { path = "../chain", version = "0.16.0" }
# Switch the lines below once https://github.com/bitcoindevkit/rust-electrum-client/pull/135 is merged and a new version is released
# electrum-client = { version = "0.21", default-features = false }
electrum-client = { git = "https://github.com/thunderbiscuit/rust-electrum-client/", branch = "feature/rustls-ring", default-features = false }

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

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

0 comments on commit 0fda8c1

Please sign in to comment.