Petri Net Simulator for Rust
This is a safe rust binding to my petri net simulator written in C. It's only an extension of the direct bindings, which aren't completely usable in a safe way.
The example should do exactly the same as in the C version while using only safe methods.
For more information have a look at the documentation, the documentation of the base library or 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.