Skip to content

Commit 5a5fdca

Browse files
committed
Fix conditional imports of client::*
1 parent 3502a5c commit 5a5fdca

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Diff for: Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "electrum-client"
3-
version = "0.2.0-beta.2"
3+
version = "0.2.0-beta.3"
44
authors = ["Alekos Filini <[email protected]>"]
55
license = "MIT"
66
homepage = "https://github.com/MagicalBitcoin/rust-electrum-client"

Diff for: src/lib.rs

+4
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,9 @@ mod types;
5353

5454
pub use api::ElectrumApi;
5555
pub use batch::Batch;
56+
#[cfg(any(
57+
all(feature = "proxy", feature = "use-openssl"),
58+
all(feature = "proxy", feature = "use-rustls")
59+
))]
5660
pub use client::*;
5761
pub use types::*;

0 commit comments

Comments
 (0)