File tree 1 file changed +8
-4
lines changed
1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -9,12 +9,16 @@ description = "Fetch data from electrum in the form BDK accepts"
9
9
license = " MIT OR Apache-2.0"
10
10
readme = " README.md"
11
11
12
- # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
13
-
14
12
[dependencies ]
15
13
bdk_chain = { path = " ../chain" , version = " 0.17.0" }
16
- electrum-client = { version = " 0.20" }
17
- # rustls = { version = "=0.21.1", optional = true, features = ["dangerous_configuration"] }
14
+ # TODO: Switch the lines below once https://github.com/bitcoindevkit/rust-electrum-client/pull/135 is merged and a new version is released
15
+ electrum-client = { git = " https://github.com/thunderbiscuit/rust-electrum-client/" , branch = " feature/rustls-ring" , default-features = false }
16
+ # electrum-client = { version = "0.20", default-features = false }
18
17
19
18
[dev-dependencies ]
20
19
bdk_testenv = { path = " ../testenv" , default-features = false }
20
+
21
+ [features ]
22
+ default = [" use-rustls" ]
23
+ use-rustls = [" electrum-client/proxy" , " electrum-client/use-rustls" ]
24
+ use-rustls-ring = [" electrum-client/proxy" , " electrum-client/use-rustls-ring" ]
You can’t perform that action at this time.
0 commit comments