Skip to content
forked from carllerche/kabuki

Lightweight actor system built on top of Tokio

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

habnabit/kabuki

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kabuki

Actor library built on top of the Tokio platform.

Overview

Kabuki provides a simple way to structure concurrent applications built for the Tokio / Futures platform. It is based on the actor model. An actor is a small unit of computation that is used to manage state and resources. It receives messages from other actors and performs some kind of action based on that input. This way, instead of having state and resources accessed concurrently, only a single thread access it and concurrent access is handled through message passing.

Motivation

Tokio and Futures provide a lightweight task primitive. However, it leaves the details of managing concurrency up to the developer.

Usage

First, add this to your Cargo.toml:

[dependencies]
kabuki = { git = "https://github.com/carllerche/kabuki" }

Next, add this to your crate:

extern crate kabuki;

And then, use kabuki!

License

kabuki is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0), with portions covered by various BSD-like licenses.

See LICENSE-APACHE, and LICENSE-MIT for details.

About

Lightweight actor system built on top of Tokio

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%