#state-machine #fsm

squads-rustfsm

Define state machines that can accept events and produce commands

4 releases

Uses new Rust 2024

0.3.1 Sep 25, 2025
0.3.0 Sep 25, 2025
0.1.1 Jul 31, 2025
0.1.0 Jul 31, 2025

#931 in Data structures

Download history 551/week @ 2025-07-31 370/week @ 2025-08-07 150/week @ 2025-08-14 81/week @ 2025-08-21 93/week @ 2025-08-28 141/week @ 2025-09-04 187/week @ 2025-09-11 414/week @ 2025-09-18 602/week @ 2025-09-25 184/week @ 2025-10-02 122/week @ 2025-10-09 232/week @ 2025-10-16 140/week @ 2025-10-23 72/week @ 2025-10-30

587 downloads per month
Used in 2 crates (via squads-temporal-sdk-core)

Custom license

3KB

A procmacro and trait for implementing state machines in Rust

We should move this to it's own repo once we're done iterating.

Dependencies

~270–710KB
~16K SLoC