electrum_client_netagnostic/
lib.rs1extern crate core;
23extern crate log;
24#[cfg(feature = "use-openssl")]
25extern crate openssl;
26#[cfg(all(
27 any(
28 feature = "default",
29 feature = "use-rustls",
30 feature = "use-rustls-ring"
31 ),
32 not(feature = "use-openssl")
33))]
34extern crate rustls;
35extern crate serde;
36extern crate serde_json;
37
38#[cfg(any(
39 feature = "default",
40 feature = "use-rustls",
41 feature = "use-rustls-ring"
42))]
43extern crate webpki_roots;
44
45#[cfg(any(feature = "default", feature = "proxy"))]
46extern crate byteorder;
47
48#[cfg(all(unix, any(feature = "default", feature = "proxy")))]
49extern crate libc;
50#[cfg(all(windows, any(feature = "default", feature = "proxy")))]
51extern crate winapi;
52
53#[cfg(any(feature = "default", feature = "proxy"))]
54pub mod socks;
55
56#[cfg(feature = "use-websocket")]
57pub mod websocket;
58
59mod api;
60mod batch;
61
62#[cfg(any(
63 all(feature = "proxy", feature = "use-openssl"),
64 all(feature = "proxy", feature = "use-rustls"),
65 all(feature = "proxy", feature = "use-rustls-ring")
66))]
67pub mod client;
68
69mod config;
70
71pub mod raw_client;
72mod stream;
73mod types;
74
75pub use api::ElectrumApi;
76pub use batch::Batch;
77#[cfg(any(
78 all(feature = "proxy", feature = "use-openssl"),
79 all(feature = "proxy", feature = "use-rustls"),
80 all(feature = "proxy", feature = "use-rustls-ring")
81))]
82pub use client::*;
83pub use config::{Config, ConfigBuilder, Socks5Config};
84pub use types::*;