Skip to main content

Crate wesley_emit_rust

Crate wesley_emit_rust 

Source
Expand description

AST-based Rust model emitter for Wesley L1 IR.

Constants§

GENERATOR_NAME
Stable generator identifier recorded in native emit metadata.
GENERATOR_VERSION
Version of the Rust emitter crate recorded in native emit metadata.
LE_BINARY_RUST_DEFAULT_CODEC_IMPORT
The default Rust module path the emitted codec imports its runtime from.
LE_BINARY_RUST_GENERATOR_NAME
Stable generator identifier recorded in native emit metadata for this codec.

Functions§

emit_le_binary_rust
Emit a Rust LE-binary codec for the data types in ir.
emit_rust
Emits Rust model declarations for a Wesley L1 IR document.
emit_rust_with_operations
Emits Rust model and operation binding declarations for a Wesley L1 IR document.
emit_rust_with_operations_and_hashes
Emits Rust declarations with schema and law hash traceability constants.
emit_rust_with_operations_and_law
Emits Rust declarations with provenance constants and law-backed helper validators.