2 stable releases
Uses new Rust 2024
| new 1.3.2 | Mar 11, 2026 |
|---|
#377 in Compression
Used in libpetri
245KB
6K
SLoC
libpetri-debug — Debug Protocol for Petri Net Inspection
Provides a framework-agnostic debug protocol for live inspection, replay, breakpoints, and event filtering of Petri net executions.
Architecture
DebugAwareEventStorewraps a primaryEventStoreand anArc<DebugEventStore>, forwarding events to both. The executor owns the wrapper; the protocol handler shares theArc<DebugEventStore>.DebugProtocolHandlerdispatches commands from clients, manages subscriptions, and sends responses via theResponseSinktrait.DebugSessionRegistrytracks sessions, generates DOT diagrams, and extracts net structure.
Feature Flags
archive— Enables gzip-compressed session archive read/write.
Dependencies
~0.8–1.8MB
~37K SLoC