Skip to main content

Crate mbus_codegen

Crate mbus_codegen 

Source
Expand description

Code-generation utilities for the mbus-ffi server-app layer.

Used by both mbus-ffi/build.rs (as a build-dependency) and xtask (as a regular dependency) so the logic lives in exactly one place.

Structs§

DeviceConfig
HooksConfig
Optional global write-notification hook fallbacks. Per-entry on_write takes priority over these.
MapEntry
MemoryMap
ServerAppConfig

Enums§

Access

Functions§

parse_yaml
Parse a YAML server-app config.
render_c_header
Generate the C header declaring the app-layer API.
render_rust_dispatcher
Generate the Rust dispatcher source that implements the server app model.
validate_config
Validate a parsed config, returning a human-readable error on failure.