From 5a5fdca348831f71c0e90f98f828d50316dba4ae Mon Sep 17 00:00:00 2001 From: Alekos Filini Date: Mon, 3 Aug 2020 11:11:04 +0200 Subject: [PATCH] Fix conditional imports of `client::*` --- Cargo.toml | 2 +- src/lib.rs | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index bf87266..1b878af 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "electrum-client" -version = "0.2.0-beta.2" +version = "0.2.0-beta.3" authors = ["Alekos Filini "] license = "MIT" homepage = "https://github.com/MagicalBitcoin/rust-electrum-client" diff --git a/src/lib.rs b/src/lib.rs index 74a862f..9b96983 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -53,5 +53,9 @@ mod types; pub use api::ElectrumApi; pub use batch::Batch; +#[cfg(any( + all(feature = "proxy", feature = "use-openssl"), + all(feature = "proxy", feature = "use-rustls") +))] pub use client::*; pub use types::*;