#simple #binding #c-api #form #safe #wrapper #efficient

sys pns

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

10 releases (5 breaking)

✓ Uses Rust 2018 edition

0.6.2 Apr 12, 2020
0.6.1 Apr 5, 2020
0.5.2 Oct 12, 2019
0.4.1 Oct 3, 2019
0.1.0 Jan 20, 2019
Download history 2/week @ 2020-01-30 12/week @ 2020-02-06 2/week @ 2020-02-13 19/week @ 2020-02-20 21/week @ 2020-02-27 18/week @ 2020-03-05 9/week @ 2020-03-12 27/week @ 2020-03-19 19/week @ 2020-03-26 32/week @ 2020-04-02 74/week @ 2020-04-09 47/week @ 2020-04-16 7/week @ 2020-04-23 2/week @ 2020-04-30 3/week @ 2020-05-07

93 downloads per month
Used in 2 crates

MIT/Apache

66KB
1.5K SLoC

C 1K SLoC // 0.0% comments Ruby HTML 694 SLoC // 0.1% comments

Petri net simulator for rust

This is a rust binding to my petri net simulator written in C. The rust binding tries to be safer than the C API, and simplifies interactive editing and reaction to changes. 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