#![warn(missing_docs)]
pub extern crate bitcoin;
extern crate core;
extern crate log;
#[cfg(feature = "openssl")]
extern crate openssl;
#[cfg(any(feature = "rustls", feature = "rustls-ring"))]
extern crate rustls;
extern crate serde;
extern crate serde_json;
#[cfg(any(feature = "rustls", feature = "rustls-ring"))]
extern crate webpki_roots;
#[cfg(feature = "proxy")]
extern crate byteorder;
#[cfg(all(unix, feature = "proxy"))]
extern crate libc;
#[cfg(all(windows, feature = "proxy"))]
extern crate winapi;
#[cfg(feature = "proxy")]
pub mod socks;
mod api;
mod batch;
pub mod client;
mod config;
pub mod raw_client;
mod stream;
mod types;
pub mod utils;
pub use api::ElectrumApi;
pub use batch::Batch;
pub use client::*;
pub use config::{AuthProvider, Config, ConfigBuilder, Socks5Config};
pub use types::*;