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