use pom_parser::Configuration; use std::process::ExitCode; fn try_main() -> Result<(), Box> { let conf = Configuration::load_path("examples/conf.pom")?; println!("{conf}"); Ok(()) } fn main() -> ExitCode { if let Err(e) = try_main() { eprintln!("Error: {e}"); return ExitCode::FAILURE; } ExitCode::SUCCESS }