6 releases (3 breaking)

0.4.0 Feb 11, 2024
0.3.0 Feb 11, 2024
0.2.0 Sep 6, 2023
0.1.3 Sep 6, 2023
0.1.1 Aug 25, 2023

#425 in Asynchronous

Download history 72/week @ 2024-01-21 76/week @ 2024-01-28 78/week @ 2024-02-04 87/week @ 2024-02-11 99/week @ 2024-02-18 303/week @ 2024-02-25 176/week @ 2024-03-03 149/week @ 2024-03-10 146/week @ 2024-03-17 86/week @ 2024-03-24 99/week @ 2024-03-31 70/week @ 2024-04-07 43/week @ 2024-04-14 102/week @ 2024-04-21 160/week @ 2024-04-28 81/week @ 2024-05-05

393 downloads per month

MIT license

555KB
12K SLoC

ractor_actors

Common utility actors built with Ractor

A pure-Rust actor framework. Inspired from Erlang's gen_server, with the speed + performance of Rust!

  • github
  • crates.io
  • docs.rs
  • CI/main
  • codecov
  • ractor_actors: ractor_actor Downloads

This crate contains some utility actors for Ractor-based systems. Additionally because ractor is built on tokio, you can often intermingle these utility actors with non-actor async workflows.

This crate is WIP

Installation

[dependencies]
ractor_actors = "0.2"

What's here?

The following utility actors are defined in this crate (enable with the associated feature in brackets):

  1. Filewatcher (feature filewatcher) - Watch files and directories for changes. Built with notify.
  2. Tcp actors (feature net) - Listen for incoming connections and handle messages in/out from them as sessions.
  3. Cron management actor (feature time) - A basic cron-job managing actor, which supports the full cron syntax and will execute operations on a period
  4. Stream processing actors (feautre streams) - Actors for common tasks processing streams, including infinite/finite loops, stream processing, and stream multiplexing.

Contributors

To learn more about contributing to ractor please see CONTRIBUTING.md.

License

This project is licensed under MIT.

Dependencies

~4–16MB
~186K SLoC