lustre_executor/lib.rs
1//! # lustre-executor
2//!
3//! A blazingly fast, minimal async executor built on Mio for low-level I/O.
4//! Features pluggable ID generation, modular design, and support for custom futures.
5//!
6//! ## Example
7//! ```rust
8//! use lustre_executor::prelude::*;
9//!
10//! let mut executor = Executor::new().unwrap();
11//! executor.spawn(Task::new(async {
12//! // Your async code here
13//! }));
14//! executor.run();
15//! ```
16
17pub mod executor;
18pub mod id;
19pub mod io;
20pub mod prelude;
21pub mod reactor;
22pub mod task;
23
24pub use executor::*;
25pub use id::*;
26pub use io::*;
27pub use reactor::*;
28pub use task::*;