Skip to main content

Module codegen

Module codegen 

Source
Expand description

Deterministic typed Rust wrapper generation from validated schema sets.

Re-exports§

pub use crate::c_codegen::GeneratedC;
pub use crate::c_codegen::generate_c;

Enums§

CodegenError
A schema construct that cannot be represented in generated output.

Functions§

generate_python
Generate Python message classes for every message in set.
generate_rust
Generate one Rust source file for every message in set.
generate_rust_with_options
Generate Rust with build-time options.