Skip to main content

redisctl_core/config/
mod.rs

1//! Configuration and profile management for Redis CLI tools
2//!
3// Allow nested config module - this is intentional for the config subsystem
4
5#![allow(clippy::module_inception)]
6//!
7//! This module provides a reusable configuration system for managing
8//! credentials and settings for Redis Cloud and Redis Enterprise deployments.
9//!
10//! # Features
11//!
12//! - Multiple named profiles for different Redis deployments
13//! - Secure credential storage using OS keyring (optional)
14//! - Environment variable expansion in config files
15//! - Platform-specific config file locations
16//! - Support for both Redis Cloud and Redis Enterprise
17
18pub mod config;
19pub mod credential;
20pub mod error;
21pub mod resilience;
22
23// Re-export main types for convenience
24pub use config::{Config, DeploymentType, Profile, ProfileCredentials};
25pub use credential::{CredentialStorage, CredentialStore};
26pub use error::{ConfigError, Result};
27pub use resilience::ResilienceConfig;