odem-rs-meta 0.2.0

Language extensions for the ODEM-rs simulation framework
Documentation

ODEM-rs Meta

odem-rs-meta provides procedural macros to enhance the ODEM-rs simulation framework. It improves ergonomics during model development by offering some compile-time code generation.

Macros

  • derive_config: Derives the Config trait with optional attribute customization.
  • control_expr: Parses a condition into an awaitable ControlExpr used to model state-events.
  • derive_publisher: Generates Publisher trait implementations for state-events.
  • sim_main: Wraps an asynchronously callable simulation function into a synchronous one.

License

Licensed under MIT. See LICENSE for details.