1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
mod clients;
mod commands;
mod error;
mod network;
pub mod resp;
pub use clients::*;
pub use commands::*;
pub use error::*;
use network::*;
#[cfg(feature = "pool")]
pub use bb8;
pub type Result<T> = std::result::Result<T, Error>;
pub type Future<'a, T> = futures::future::BoxFuture<'a, Result<T>>;
#[cfg(all(feature = "tokio-runtime", feature = "async-std-runtime"))]
compile_error!("feature \"tokio-runtime\" and feature \"async-std-runtime\" cannot be enabled at the same time");
#[cfg(test)]
mod tests;