ractor_actors

Crates.ioractor_actors
lib.rsractor_actors
version0.4.4
sourcesrc
created_at2023-08-19 00:52:19.833946
updated_at2024-10-25 17:44:43.815406
descriptionHelpful actors built with Ractor
homepagehttps://github.com/slawlor/ractor
repositoryhttps://github.com/slawlor/ractor
max_upload_size
id948441
size147,985
Sean Lawlor (slawlor)

documentation

https://docs.rs/ractor_actors

README

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.

Commit count: 169

cargo fmt