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
343 downloads per month
Used in 10 crates
(7 directly)
77KB
2K
SLoC
meio
Lightweight async actor framework for Rust.
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