darkwing/cache/mod.rs
//! Redis cache functionality module.
//!
//! This module provides Redis caching capabilities for the application,
//! including connection management and pooling. It exposes the necessary
//! types and functions for interacting with the Redis cache infrastructure.
//!
//! The main components are:
//! - [`Cache`]: The main struct for managing Redis connections
//! - [`ConnectionPool`]: A connection pool for Redis clients
//!
//! # Example
//!
//! ```rust,no_run
//! use std::time::Duration;
//! use darkwing::cache::Cache;
//!
//! async fn example() -> anyhow::Result<()> {
//! let cache = Cache::connect(
//! "redis://127.0.0.1:6379",
//! 5,
//! Duration::from_secs(10)
//! )?;
//! Ok(())
//! }
//! ```
mod connection;
pub use connection::*;