rusty_bin/monitor/config/
development.rs

1//! Development and debugging configuration
2use serde::{Deserialize, Serialize};
3use smartstring::alias::String;
4use std::path::PathBuf;
5
6/// Development and debugging configuration
7#[derive(Debug, Clone, Serialize, Deserialize)]
8pub struct DevelopmentConfig {
9    /// Whether to enable debug mode with verbose logging
10    pub debug_mode: bool,
11    /// Whether to save raw messages for debugging
12    pub save_raw_messages: bool,
13    /// Whether to validate schemas for incoming data
14    pub validate_schemas: bool,
15    /// Whether to enable performance profiling
16    pub enable_profiling: bool,
17    /// Path to save profiling output
18    pub profile_output_path: PathBuf,
19    /// Whether to run in test mode
20    pub test_mode: bool,
21    /// Duration in seconds for test mode
22    pub test_duration_seconds: u64,
23    /// List of symbols to use in test mode
24    pub test_symbols: Vec<String>,
25    /// List of exchanges to use in test mode
26    pub test_exchanges: Vec<String>,
27}