#async #actors

meio

A compact actors framework for the async epoch in Rust & Tokio

27 breaking releases

0.74.3 Jan 16, 2021
0.73.0 Jan 14, 2021
0.50.0 Dec 29, 2020
0.30.0 Nov 28, 2020
0.7.0 Apr 7, 2020

#63 in Concurrency

Download history 4/week @ 2020-10-02 27/week @ 2020-10-09 67/week @ 2020-10-16 39/week @ 2020-10-23 74/week @ 2020-10-30 64/week @ 2020-11-06 25/week @ 2020-11-13 45/week @ 2020-11-20 42/week @ 2020-11-27 56/week @ 2020-12-04 12/week @ 2020-12-11 20/week @ 2020-12-18 30/week @ 2020-12-25 124/week @ 2021-01-01 312/week @ 2021-01-08 885/week @ 2021-01-15

343 downloads per month
Used in 10 crates (7 directly)

MIT/Apache

77KB
2K SLoC

meio

Lightweight async actor framework for Rust.

Crates.io Released API docs

WASM

It has experimental WASM support. To activate use:

meio = { default-features = false, feautres = ["wasm"] }

Usage

Check tests in lib.rs file to see how it works.

Guideline

You should prefer to have Supervisor actor that catches termination signals and creates other actors, because it the supoervisor will call caonstructors of others it can provider all necesary information and actors will have addresses of other parts in constructors and you don't have to wrap that fields with Option.


lib.rs:

meio - lightweight async actor framework for Rust. The main benefit of this framework is that gives you tiny extension over tokio with full control.

It's designed for professional applications where you can't have strong restrictions and have keep flexibility.

Also this crate has zero-cost runtime. It just calls async method of your type.

Dependencies

~4–6MB
~108K SLoC