10 unstable releases (3 breaking)

0.4.4 Oct 25, 2024
0.4.2 Sep 21, 2024
0.4.1 May 19, 2024
0.4.0 Feb 11, 2024
0.2.0 Sep 6, 2023

#226 in Asynchronous

Download history 77/week @ 2024-08-01 76/week @ 2024-08-08 109/week @ 2024-08-15 177/week @ 2024-08-22 125/week @ 2024-08-29 165/week @ 2024-09-05 253/week @ 2024-09-12 495/week @ 2024-09-19 386/week @ 2024-09-26 537/week @ 2024-10-03 240/week @ 2024-10-10 290/week @ 2024-10-17 345/week @ 2024-10-24 206/week @ 2024-10-31 181/week @ 2024-11-07 182/week @ 2024-11-14

993 downloads per month

MIT license

690KB
15K 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

~5–19MB
~207K SLoC