1 2 3 4 5 6 7 8 9 10
//! Binary to emit JSON schema artifacts. //! //! Usage: `cargo run -p meerkat-contracts --features schema --bin emit-schemas` fn main() -> Result<(), Box<dyn std::error::Error>> { let output_dir = std::path::PathBuf::from("artifacts/schemas"); meerkat_contracts::emit::emit_all_schemas(&output_dir)?; println!("Schemas written to {}", output_dir.display()); Ok(()) }