Skip to content

Commit 0fda8c1

Browse files
feat!: enable selecting use-rustls-ring feature on electrum client
1 parent 275e069 commit 0fda8c1

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

crates/electrum/Cargo.toml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,14 @@ readme = "README.md"
1212
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1313

1414
[dependencies]
15-
bdk_chain = { path = "../chain", version = "0.16.0" }
16-
electrum-client = { version = "0.20" }
17-
#rustls = { version = "=0.21.1", optional = true, features = ["dangerous_configuration"] }
15+
bdk_chain = { path = "../chain", version = "0.16.0" }
16+
# Switch the lines below once https://github.com/bitcoindevkit/rust-electrum-client/pull/135 is merged and a new version is released
17+
# electrum-client = { version = "0.21", default-features = false }
18+
electrum-client = { git = "https://github.com/thunderbiscuit/rust-electrum-client/", branch = "feature/rustls-ring", default-features = false }
1819

1920
[dev-dependencies]
2021
bdk_testenv = { path = "../testenv", default-features = false }
22+
23+
[features]
24+
use-rustls = ["electrum-client/use-rustls"]
25+
use-rustls-ring = ["electrum-client/use-rustls-ring"]

0 commit comments

Comments
 (0)