uzu-schemas

Crates.iouzu-schemas
lib.rsuzu-schemas
version0.0.1
created_at2025-12-22 15:16:07.434368+00
updated_at2025-12-22 15:16:07.434368+00
descriptionRust types and parser generated from JSON schemas
homepagehttps://github.com/trymirai/agentic-pipeline-schemas
repositoryhttps://github.com/trymirai/agentic-pipeline-schemas
max_upload_size
id1999865
size31,000
Mirai Tech. (mirai-contact)

documentation

README

Rust types and parser generated from JSON schemas.

Installation

cargo add uzu-schemas

Usage

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");
    }
}
Commit count: 0

cargo fmt