use std::collections::HashMap;
#[derive(Debug, Clone)]
pub struct Config {
pub max_iterations: usize,
pub static_eval: bool,
pub dynamic_eval: bool,
pub transforms: bool,
pub globals: HashMap<String, serde_json::Value>,
}
impl Default for Config {
fn default() -> Self {
Self {
max_iterations: 50,
static_eval: true,
dynamic_eval: false,
transforms: true,
globals: HashMap::new(),
}
}
}