zen_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 {
12 nodes_in_context: AtomicBool::new(true),
13 }
14 }
15}
16
17pub static ZEN_CONFIG: Lazy<ZenConfig> = Lazy::new(|| Default::default());