aimux_stream/lib.rs
1//! # aimux-stream
2//!
3//! Low-level SSE (Server-Sent Events) decoding, used by
4//! `aimux-provider-utils` to decode model API response streams. The crate
5//! plays the role `eventsource-parser` plays for the AI SDK: it knows nothing
6//! about providers, models or stream parts.
7
8pub mod lines;
9pub mod sse;
10
11// Re-export the most commonly used items.
12pub use lines::extract_lines;
13pub use sse::{SseError, SseEvent, SseStream};