Petri Net Simulator for Rust
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.