aboutsummaryrefslogtreecommitdiff
path: root/karyons_core/src/lib.rs
blob: 83af888c08785a9b24aea18f2af73fc4e1e1c34b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/// A set of helper tools and functions.
pub mod utils;

/// A module containing async utilities that work with the `smol` async runtime.
pub mod async_utils;

/// Represents Karyons's Core Error.
pub mod error;

/// [`EventSys`](./event/struct.EventSys.html) Implementation
pub mod event;

/// A simple publish-subscribe system.[`Read More`](./pubsub/struct.Publisher.html)
pub mod pubsub;

use error::Result;
use smol::Executor as SmolEx;
use std::sync::Arc;

/// A wrapper for smol::Executor
pub type Executor<'a> = Arc<SmolEx<'a>>;