#actor-model #actors #tokio #async

nexus-actor-core-rs

A Rust crate for Actors

1 unstable release

0.11.3 Aug 29, 2024

#1026 in Concurrency

Download history 153/week @ 2024-08-26

153 downloads per month

MIT/Apache

455KB
13K SLoC

nexus-actor-rs

Workflow Status crates.io docs.rs Renovate dependency status License License

nexus-actor-rs embodies the essence of the Actor Model, cleverly combining "Nexus" (connection, linkage, or center) with "actor" and the Rust programming language suffix "rs". This name represents the core principles of our project for the following reasons:

  • Connection and Interaction: Nexus symbolizes the central point where various elements connect, reflecting the communication and interaction concepts in the Actor Model. The "actor" part emphasizes the active nature of these connections.
  • Distribution and Integration: It illustrates how the distributed elements (Actors) of a system are interconnected, forming a cohesive whole. The "rs" suffix directly indicates the project's implementation in Rust, known for its focus on safe concurrency.
  • Flexibility and Resilience: Nexus suggests a dynamically formed connection point, implying the system's flexibility and resilience. The straightforward structure of "actor-rs" reflects this clarity in its very name.
  • Abstract yet Tangible Concept: While Nexus represents the essential structure and behavior of the system, "actor-rs" grounds it in the concrete implementation of actors in Rust.
  • Multifaceted Meaning: nexus-actor-rs comprehensively expresses the diverse aspects of the Actor Model—computation, communication, structure, and interaction—while also clearly indicating the project's technical foundation.

nexus-actor-rs integrates the core characteristics of the Actor Model—distribution, interaction, modularity, and resilience—into a single, memorable concept. It represents not just the essence of the system's structure and behavior, but also embodies the practical spirit of the Rust community. This name serves as a nexus itself, connecting the theoretical underpinnings of the Actor Model with the practical implementation in Rust, all while clearly communicating its purpose and technology stack.


Installation

To add nexus-actor-core-rs to your project, follow these steps:

  1. Open your Cargo.toml file.

  2. Add the following line to the [dependencies] section:

nexus-actor-core-rs = "${version}"

Specify the version number in ${version}, for example 0.0.1.

  1. If you want to use the latest version, you can check it by running:
cargo search nexus-actor-core-rs
  1. To update the dependencies, run the following command in your project's root directory:
cargo update

Now nexus-actor-rs is installed and ready to use in your project.

Note: As versions may be updated regularly, it's recommended to check for the latest version.

Dependencies

~17–27MB
~393K SLoC