diff options
Diffstat (limited to 'karyons_core/src/lib.rs')
-rw-r--r-- | karyons_core/src/lib.rs | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/karyons_core/src/lib.rs b/karyons_core/src/lib.rs new file mode 100644 index 0000000..83af888 --- /dev/null +++ b/karyons_core/src/lib.rs @@ -0,0 +1,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>>; |