14 releases

new 0.4.9 Feb 13, 2025
0.4.6 Dec 18, 2024
0.4.4 Oct 25, 2024
0.4.1 May 19, 2024
0.2.0 Sep 6, 2023

#194 in Asynchronous

Download history 279/week @ 2024-10-26 195/week @ 2024-11-02 168/week @ 2024-11-09 193/week @ 2024-11-16 149/week @ 2024-11-23 187/week @ 2024-11-30 207/week @ 2024-12-07 423/week @ 2024-12-14 102/week @ 2024-12-21 28/week @ 2024-12-28 80/week @ 2025-01-04 304/week @ 2025-01-11 253/week @ 2025-01-18 426/week @ 2025-01-25 387/week @ 2025-02-01 230/week @ 2025-02-08

1,333 downloads per month

MIT license

755KB
16K 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–16MB
~203K SLoC