{"by":"acid_burn","descendants":0,"id":43213257,"score":38,"text":"I&#x27;ve come to prefer modeling state machines with nested states, but implementing them by hand requires a large amount of error-prone boilerplate that obscures the important logic of the state machine.<p>I found that the existing offerings in the Rust ecosystem - while inspiring - lacked a number of features that I was looking for, so I spent the last few months building moku.<p>Feedback is welcome!","time":1740785437,"title":"Show HN: a Rust library for creating hierarchical state machines","type":"story","url":"https://docs.rs/moku/0.2.0/moku/"}