3 releases (breaking)

0.3.0 Sep 21, 2024
0.2.0 Sep 13, 2024
0.1.0 Sep 12, 2024

#1029 in Concurrency


Used in 3 crates (via bitcoinsv)

Custom license

27KB
376 lines

minactor

Test Status dependency status

THIS IS A WORK IN PROGRESS,

minactor is a minimal actor framework for tokio. The framework was inspired by Erlang but adapted to Rust paradigms. Other inspirations came from Alice Ryhl, and ractor.

Actors created in minactor have a tiny overhead and messages are passed using tokio channels. Each instance of an actor has a single thread of control (a tokio async task). Creating actors is simple.

It is designed for single system implementations, not clusters of systems. If you need clusters, you're probably better served by other frameworks such as ractor.

Roadmap

  • Supervision trees
  • Integrating general futures

Dependencies

~3.5–10MB
~97K SLoC