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
37
//! Configuration management for Torc
//!
//! This module provides layered configuration loading from multiple sources:
//! 1. Built-in defaults (lowest priority)
//! 2. System config (`/etc/torc/config.toml`)
//! 3. User config (`~/.config/torc/config.toml`)
//! 4. Project-local config (`./torc.toml`)
//! 5. Environment variables (`TORC_*`)
//! 6. CLI arguments (highest priority, handled by clap)
//!
//! # Example
//!
//! ```rust,ignore
//! use torc::client::config::TorcConfig;
//!
//! // Load configuration from all sources
//! let config = TorcConfig::load()?;
//!
//! // Access client settings
//! println!("API URL: {}", config.client.api_url);
//!
//! // Or load with custom paths
//! let config = TorcConfig::load_from_paths(&["/custom/config.toml"])?;
//! ```
pub use ;
pub use DashConfig;
pub use ;
pub use ;