odem-rs-meta

Crates.ioodem-rs-meta
lib.rsodem-rs-meta
version0.2.0
created_at2025-02-21 16:31:49.494954+00
updated_at2025-06-20 21:43:58.014737+00
descriptionLanguage extensions for the ODEM-rs simulation framework
homepage
repositoryhttps://gitlab.informatik.hu-berlin.de/weber/odem-rs
max_upload_size
id1564421
size77,245
Dorian Weber (Heroglyph)

documentation

README

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.

Commit count: 0

cargo fmt