rust-fsm
Finite state machine framework for Rust with readable specifications (by eugene-babichenko)
session-types
By Munksgaard
rust-fsm | session-types | |
---|---|---|
1 | 2 | |
142 | 546 | |
- | - | |
1.7 | 0.0 | |
29 days ago | over 1 year ago | |
Rust | Rust | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rust-fsm
Posts with mentions or reviews of rust-fsm.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-03.
session-types
Posts with mentions or reviews of session-types.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-01.
-
The Better Alternative to Lifetime GATs
But there's no law of nature that says that Rust type-level syntax must suck forever. Maybe Rust 2036 will make writing this stuff a breeze, who knows. But for now, there are some projects that attempt to fill this gap, like Tyrade, which is a Rust DSL (like, a proc macro) that compiles down to bare Rust. It has seen some usage: there's a session types library built on top of Tyrade that is just awesome:
-
Rusty Typestates – Starting Out
Since this often matters when implementing protocols, there is research about session types and verification. Here is a Rust library for session types: https://github.com/Munksgaard/session-types
I believe both have some overlap.
What are some alternatives?
When comparing rust-fsm and session-types you can also consider the following projects:
syn - Parser for Rust source code
tinyvec - Just, really the littlest Vec you could need. So smol.
field_names - proc-macro for accessing struct field names at runtime
hyper-ts - Type safe middleware architecture for HTTP servers
darling - A Rust proc-macro attribute parser
tyrade - A pure functional language for type-level programming in Rust
quote - Rust quasi-quoting