sys pns

A simple and efficient library wrapper for simulating a minimal form of petri nets

28 releases (17 breaking)

0.18.0 Sep 21, 2024
0.16.1 Aug 31, 2024
0.15.1 Jun 11, 2024
0.15.0 Jan 19, 2024
0.2.1 Jan 22, 2019

21 downloads per month
Used in 6 crates

MIT/Apache

67KB
1.5K SLoC

C 1K SLoC // 0.0% comments Rust 664 SLoC // 0.0% comments

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.


lib.rs:

See the description *

Dependencies