mod problem; use once_cell::sync::Lazy; pub use problem::Problem; use std::path::PathBuf; pub type Result = std::result::Result>; // paths pub const BASE_DIR: Lazy = Lazy::new(|| PathBuf::from(env!("CARGO_MANIFEST_DIR"))); pub const SOLUTIONS: Lazy = Lazy::new(|| BASE_DIR.join("src").join("bin")); pub const RESOURCES: Lazy = Lazy::new(|| BASE_DIR.join("resources")); pub const README: Lazy = Lazy::new(|| BASE_DIR.join("readme.md")); // panic channel pub static mut SILENT_PANIC: bool = false;