Finite state machines in rust; bendns fork to add types.
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c59496..676cb73 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,18 @@ The format is based on [Keep a Changelog][keepachangelog], and this project adheres to [Semantic Versioning][semver]. ## [Unreleased] +### Changed +* All types generated by the `state_machine` macro are now confined in a module. + The name of the module is passed to the macro as the name of the state + machine. All generated types now have uniforms names: `Impl`, `Input`, + `State`, `Output`. +* If no outputs is specified in the `state_machine` macro, an empty `Output` + enum is generated instead of using `()` for the sake of uniformity. No + attributes (e.g. `derive` and `repr`) are applied on an empty `Output`, + because many of them are simply not designed to work this way. +## Added +* A type alias `StateMachine` for `rust_fsm::StateMachine<Impl>` is now + generated inside the said module. ## [0.6.2] - 2024-05-11 ### Changed |