| Crates.io | odem-rs-sync |
| lib.rs | odem-rs-sync |
| version | 0.2.0 |
| created_at | 2025-02-21 16:38:42.692626+00 |
| updated_at | 2025-06-20 21:44:31.924243+00 |
| description | Model-time synchronization facilities of the ODEM-rs simulation framework |
| homepage | |
| repository | https://gitlab.informatik.hu-berlin.de/weber/odem-rs |
| max_upload_size | |
| id | 1564433 |
| size | 179,560 |
odem-rs-sync provides synchronization primitives and communication structures for agent-job interactions in
ODEM-rs simulations.
Dynamically sized backing stores for the channels require the alloc-feature. Channels themselves can either be created
on the heap using a free channel-function like in Rust's standard library which requires alloc as well, or pinned on
the stack for the no_std solution. Everything else is no_std.
This crate is meant as a dependency to the odem-rs entry crate, but it is possible to use it in combination
with the simulator core defined in the odem-rs-code crate. To install, add the following line to your Cargo.toml.
[dependencies]
odem-rs-sync = "*"
Licensed under MIT. See LICENSE for details.