relay_redis/
lib.rs

1//! Abstraction over Redis caches.
2//!
3//! By default, this library only implements an empty noop client. With the `impl` feature, the
4//! actual Redis client is implemented.
5#![warn(missing_docs)]
6#![doc(
7    html_logo_url = "https://raw.githubusercontent.com/getsentry/relay/master/artwork/relay-icon.png",
8    html_favicon_url = "https://raw.githubusercontent.com/getsentry/relay/master/artwork/relay-icon.png"
9)]
10#![allow(clippy::derive_partial_eq_without_eq)]
11
12mod config;
13pub use self::config::*;
14
15#[cfg(feature = "impl")]
16mod pool;
17
18#[cfg(feature = "impl")]
19mod real;
20#[cfg(feature = "impl")]
21pub use self::real::*;
22
23#[cfg(feature = "impl")]
24mod scripts;
25#[cfg(feature = "impl")]
26pub use self::scripts::*;
27
28#[cfg(not(feature = "impl"))]
29mod noop;
30
31#[cfg(not(feature = "impl"))]
32pub use self::noop::*;