moduforge_rules_engine/config.rs
1use once_cell::sync::Lazy;
2use std::sync::atomic::AtomicBool;
3
4#[derive(Debug)]
5pub struct ZenConfig {
6 pub nodes_in_context: AtomicBool,
7}
8
9impl Default for ZenConfig {
10 fn default() -> Self {
11 Self { nodes_in_context: AtomicBool::new(true) }
12 }
13}
14
15pub static ZEN_CONFIG: Lazy<ZenConfig> = Lazy::new(|| Default::default());