1
2
3
4
5
6
7
8
9
10
11
12
#[cfg(any(feature = "http1", feature = "http2"))]
mod client;
#[cfg(any(feature = "http1", feature = "http2"))]
pub use client::Client;
#[cfg(any(feature = "http1", feature = "http2"))]
pub use client::Error;

pub mod connect;
#[doc(hidden)]
// Publicly available, but just for legacy purposes. A better pool will be
// designed.
pub mod pool;