yot_run/lib.rs
1//! A custom async runtime implementation demonstrating the core components of an async executor.
2//!
3//! This crate provides a lightweight executor for running async tasks, with support for spawning
4//! futures and managing their lifecycle. It consists of:
5//!
6//! - [`executor`]: The main executor for driving tasks to completion
7//! - [`reactor`]: Event-driven reactor for handling I/O operations
8//! - [`task`]: Task management and state tracking
9//! - [`waker`]: Waker implementation for task scheduling
10
11pub mod executor;
12pub mod net;
13pub mod reactor;
14mod runtime;
15pub mod task;
16pub mod waker;
17
18pub use executor::Executor;
19pub use runtime::{Runtime, spawn};
20pub use task::Task;
21pub use yot_run_macros::main;