riker-default

Riker's default Model and modules providing core services

12 releases

0.2.4 Apr 16, 2019
0.2.3 Jan 16, 2019
0.1.9 Jan 3, 2019
0.1.8 Oct 1, 2018
0.1.1 Jul 22, 2018


Used in 3 crates

MIT license

22KB
285 lines

Riker Default Model

Overview

This is default model that provides default modules for all core services. In many cases this model works well even for production environments.

If you're looking for the main Riker repository please see Riker.

The official Riker documentation explains how to use the features that these modules provide. You can find the documentation here.

Build Status

To use the default model in your actor system:

extern crate riker;
extern crate riker_default;
 
use riker::actors::*;
use riker_default::DefaultModel;
 
// Get a default model with String as the message type
let model: DefaultModel<String> = DefaultModel::new();
let sys = ActorSystem::new(&model).unwrap();

Modules

Default modules are maintained as part of the same git repository but each is a separate crate. This allows custom models to use individual modules without needing to pull in other crates.

Dependencies

~8MB
~158K SLoC