Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/johnchildren/state_machine_async

Experimenting with async/await and state machines
https://github.com/johnchildren/state_machine_async

Last synced: about 20 hours ago
JSON representation

Experimenting with async/await and state machines

Awesome Lists containing this project

README

        

# state-machine-async

Experimenting with a [state_machine_future](https://github.com/fitzgen/state_machine_future) alternative using async/await.

I'm trying to work out if it's still worth writing state machines through derive macros,
so I wrote up one of the example state machines from `state_machine_future` in order to see what the ergonomics would be like.
It seemed okay and potentially worthwhile so the next stage is writing the derive crate.

Requires Rust Nightly 1.39+