erio-event-bus
erio-event-bus provides an async event bus with a simple event model and
pluggable event sources.
Use it to coordinate components (or specialist agents) via publish/subscribe events instead of direct coupling.
Quickstart
use ;
let bus = new;
let mut _rx = bus.subscribe;
let event = new;
let _ = bus.publish;
API tour
- Core types:
Event,EventBus - Source contract:
EventSource - Error type:
EventBusError - Modules:
event,bus,source,error
Related crates
- Often paired with
erio-llm-clientin event-driven agent pipelines. - Uses
serde_jsonpayloads for crate-agnostic event data. - Docs: https://docs.rs/erio-event-bus
- Source: https://github.com/NomanworkGroup/erio/tree/main/crates/event-bus
Compatibility
- MSRV: Rust 1.93
- License: Apache-2.0