| Crates.io | uzu-schemas |
| lib.rs | uzu-schemas |
| version | 0.0.1 |
| created_at | 2025-12-22 15:16:07.434368+00 |
| updated_at | 2025-12-22 15:16:07.434368+00 |
| description | Rust types and parser generated from JSON schemas |
| homepage | https://github.com/trymirai/agentic-pipeline-schemas |
| repository | https://github.com/trymirai/agentic-pipeline-schemas |
| max_upload_size | |
| id | 1999865 |
| size | 31,000 |
cargo add uzu-schemas
use uzu-schemas::parse_json;
use uzu-schemas::types::{Graph};
fn main() {
let graph_json: &str = "{ here is your graph json }";
let graph = parse_json::<Graph>(graph_json);
if let Ok(graph) = graph {
dbg!(&graph);
} else {
println!("Failed to parse graph");
}
}