aspartam

Crates.ioaspartam
lib.rsaspartam
version0.1.0
sourcesrc
created_at2022-10-01 16:31:50.932053
updated_at2022-10-01 16:31:50.932053
descriptionMinimalistic actor framework based on tokio, inspired by actix
homepage
repositoryhttps://github.com/hgonomeg/aspartam
max_upload_size
id677899
size40,683
(hgonomeg)

documentation

README

Aspartam

Minimalistic actor framework based on tokio, inspired by actix.

Aspartam tries to keep it simple and easy to use.

Messages are processed sequentially.

Features

  • Asynchronous actors
  • Support for typed messages via dynamic dispatch
  • Support for asynchronous message handlers, via async-trait
  • Actor supervision

Usage

TODO

Aspartam vs Actix

TODO

Why Aspartam

While actix is great, it makes using async/await problematic in message handlers. Workarounds exist but that continues to be a major pain-point.

I decided to create something that feels similar to actix but requires a lot less hassle and has less complexity overall.

TODO

  • Maybe something like actix's Recipient
Commit count: 80

cargo fmt