lustre-executor 0.1.0

A blazingly fast, minimal async executor with pluggable ID generation and I/O support.
Documentation
  • Coverage
  • 3.45%
    1 out of 29 items documented1 out of 22 items with examples
  • Size
  • Source code size: 17.78 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 4.1 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 29s Average build duration of successful builds.
  • all releases: 35s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • ParkBlake

lustre-executor

A blazingly fast, minimal async executor built on Mio for low-level I/O. Features pluggable ID generation, modular design, and support for custom futures.

Features

  • Minimal Dependencies: Only Mio and Futures.
  • Pluggable ID Generation: Use custom generators for task IDs.
  • I/O Support: Reactor-based async I/O with futures like TcpListenerFuture and TimerFuture.
  • Generic Task IDs: TaskId<Id> for flexibility.

Example

use lustre_executor::prelude::*;

let mut executor = Executor::new().unwrap();
executor.spawn(Task::new(async {
    // Your async code here
}));
executor.run();

License

MIT