moirai-core
Core abstractions for the Moirai concurrency library: the task, executor, and scheduler traits every other Moirai crate builds on, plus the channel, communication, memory-pool, and coroutine primitives they share.
Modules: task, executor, scheduler, error, channel, communication,
memory, pool, coroutine, ipc, platform.
[]
= "0.5"
use spsc;
// Bounded lock-free single-producer/single-consumer ring.
let = ;
tx.send.unwrap;
assert_eq!;
Most users depend on the moirai-runtime
facade instead, which re-exports the parts of this crate that make up the public
runtime surface.
Full documentation: https://docs.rs/moirai-core
License
Licensed under either of Apache-2.0 or MIT at your option.