| Crates.io | odem-rs-meta |
| lib.rs | odem-rs-meta |
| version | 0.2.0 |
| created_at | 2025-02-21 16:31:49.494954+00 |
| updated_at | 2025-06-20 21:43:58.014737+00 |
| description | Language extensions for the ODEM-rs simulation framework |
| homepage | |
| repository | https://gitlab.informatik.hu-berlin.de/weber/odem-rs |
| max_upload_size | |
| id | 1564421 |
| size | 77,245 |
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.
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.Licensed under MIT. See LICENSE for details.