Crates.io | riker-default |
lib.rs | riker-default |
version | 0.2.4 |
source | src |
created_at | 2018-07-17 04:01:46.368732 |
updated_at | 2019-04-16 05:37:01.0498 |
description | Riker's default Model and modules providing core services |
homepage | https://riker.rs |
repository | https://github.com/riker-rs/riker-default |
max_upload_size | |
id | 74626 |
size | 5,295 |
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.
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();
riker-dispatcher
riker-deadletters
riker-timer
riker-mapvec
riker-log
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.