1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
mod options;
mod pipeline;
mod pool;
mod redis;

pub use options::WithOptions;
pub use pipeline::Pipeline;
pub use pool::RedisPool;
pub use redis::RedisClient;

#[cfg(not(feature = "glommio"))]
pub use pool::ExclusivePool;

#[cfg(feature = "sentinel-client")]
mod sentinel;
#[cfg(feature = "sentinel-client")]
#[cfg_attr(docsrs, doc(cfg(feature = "sentinel-client")))]
pub use sentinel::SentinelClient;

#[cfg(feature = "subscriber-client")]
mod pubsub;
#[cfg(feature = "subscriber-client")]
#[cfg_attr(docsrs, doc(cfg(feature = "subscriber-client")))]
pub use pubsub::SubscriberClient;

#[cfg(feature = "replicas")]
mod replica;
#[cfg(feature = "replicas")]
#[cfg_attr(docsrs, doc(cfg(feature = "replicas")))]
pub use replica::Replicas;

#[cfg(feature = "transactions")]
mod transaction;
#[cfg(feature = "transactions")]
#[cfg_attr(docsrs, doc(cfg(feature = "transactions")))]
pub use transaction::Transaction;