Skip to main content

generate_rust

Function generate_rust 

Source
pub fn generate_rust(schema: &Schema) -> Result<String>
Expand description

Generate a self-contained Rust module (as source text) for schema. Include it with mod foo; / #[path = "..."] mod foo; — it depends only on the verit crate’s public API.