// cargo run -p rust-compose > composition.json (`-- `: atlibs compose check it there first) fn main() { let c = rust_compose::toys(); if let Some(dir) = std::env::args().nth(1) { c.check(dir.as_ref()).unwrap_or_else(|e| panic!("{e}")); } print!("{}", c.to_json()); }