{"id":64468,"library":"eventsource-stream","title":"EventSource Stream","description":"A basic building block for building an EventSource from a Stream of bytes.","status":"active","version":"0.2.3","language":"rust","source_language":null,"source_url":"https://github.com/jpopesculian/eventsource-stream","tags":["eventsource","stream","sse","async"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\neventsource-stream = \"0.2.3\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add eventsource-stream","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"EventStream","correct":"use eventsource_stream::EventStream;"}],"quickstart":{"code":"use eventsource_stream::EventStream;\nuse futures::StreamExt;\n\n#[tokio::main]\nasync fn main() {\n    let stream = EventStream::new(/* some byte stream */);\n    while let Some(event) = stream.next().await {\n        println!(\"{:?}\", event);\n    }\n}","lang":"rust","description":"Parse an EventSource stream from bytes."},"warnings":[{"fix":"Add tokio or async-std as a dependency and use #[tokio::main] or similar.","message":"Requires an async runtime like tokio or async-std.","severity":"gotcha","affected_versions":">=0.1.0"}],"env_vars":null,"search_vec":"'async':19 'basic':4 'block':6 'build':5,8 'byte':15 'eventsourc':1,10,16 'sse':18 'stream':2,13,17","created_at":"2026-06-17T16:56:19.360251+00:00","updated_at":"2026-06-17T16:56:19.360251+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/jpopesculian/eventsource-stream","github":"https://github.com/jpopesculian/eventsource-stream","docs":"https://docs.rs/eventsource-stream/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["networking","async"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}