Skip to content

Commit

Permalink
fix(bdk_electrum): build with --no-default-features
Browse files Browse the repository at this point in the history
- add `use-rustls` as required features for `test_electrum.rs`, using
  the `[[test]]` cargo target approach.
  • Loading branch information
oleonardolima committed Sep 20, 2024
1 parent 33942ec commit 6e8f196
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions crates/electrum/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,8 @@ bdk_chain = { path = "../chain" }
default = ["use-rustls"]
use-rustls = ["electrum-client/use-rustls"]
use-rustls-ring = ["electrum-client/use-rustls-ring"]

[[test]]
name = "use-rustls"
path = "tests/test_electrum.rs"
required-features = ["use-rustls"]

0 comments on commit 6e8f196

Please sign in to comment.