1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#! [doc = include_str! ("../README.md")]


#![cfg_attr(not(test), no_std)]
#![cfg_attr(not(async_trait), feature(async_fn_in_trait))]
#![warn(clippy::pedantic)]
#![allow(clippy::module_name_repetitions)]



extern crate alloc;


pub mod types;

pub mod actor;

pub mod message;

pub mod system;

mod fluxion;

pub use fluxion::*;


pub use types::{
    errors::{ActorError, SendError},
    executor::{Executor, JoinHandle},
    params::FluxionParams,
};

pub use actor::{
    Actor, ActorId,
    context::ActorContext,
};

pub use system::System;

pub use message::{
    Message, Handler,
    inverted::{InvertedHandler, InvertedMessage},
    MessageSender,
    event::Event,
};

#[cfg(serde)]
pub use types::serialize::MessageSerializer;