Crates.io | pns |
lib.rs | pns |
version | 0.18.2 |
created_at | 2019-01-20 23:38:54.281782+00 |
updated_at | 2025-04-18 13:34:08.937523+00 |
description | A simple and efficient library wrapper for simulating a minimal form of petri nets |
homepage | |
repository | https://gitlab.com/porky11/pnrs |
max_upload_size | |
id | 109741 |
size | 86,015 |
This is a rust binding to my petri net simulator written in C. It has almost direct mappings to the C API, but uses a few Rust features like methods and custom types.
The example should do exactly the same as in the C version.
For more information look at the documentation or have a look at the C API.
Also have a look at the petri net editor, which makes use of the whole API, and helps you understand, how it works.