appliance

Crates.ioappliance
lib.rsappliance
version0.2.4
sourcesrc
created_at2021-01-05 08:38:31.631455
updated_at2021-03-07 20:28:27.343041
descriptionA lightweight framework to build async-friendly components with message-based intercommunications.
homepagehttps://github.com/pkorotkov/appliance
repositoryhttps://github.com/pkorotkov/appliance
max_upload_size
id331989
size34,885
(pkorotkov)

documentation

https://docs.rs/appliance

README

Appliance

Cargo Documentation minimum rustc 1.49

Overview

Appliance is a lightweight Rust framework for building highly customizable asynchronous components adapted for message-based intercommunications. This project is an attempt to make actix-like approach more flexible by exempting a user from using predefined execution runtimes. With the library you can design any composition logic for async agents avoiding data races and unnecessary locks.

Features

  • Explicit control over agent lifecycle (no global runtime).
  • Equipping agents with customized async executors.
  • Minimal overhead when calling handlers.

Installation

The recommended way to use this library is to add it as a dependency in your Cargo.toml file:

[dependencies]
appliance = "0.2.0"
Commit count: 30

cargo fmt