{"id":65580,"library":"async-ringbuffer","title":"Async Ringbuffer","description":"A nonblocking single-producer single-consumer ring buffer with fixed capacity.","status":"active","version":"0.5.5","language":"rust","source_language":null,"source_url":"https://github.com/sunrise-choir/async-ringbuffer","tags":["async","ringbuffer","spsc","nonblocking"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nasync-ringbuffer = \"0.5.5\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add async-ringbuffer","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"RingBuffer","correct":"use async_ringbuffer::RingBuffer;"}],"quickstart":{"code":"use async_ringbuffer::RingBuffer;\n\n#[tokio::main]\nasync fn main() {\n    let (mut producer, mut consumer) = RingBuffer::new(1024);\n    producer.push(42).await.unwrap();\n    let val = consumer.pop().await.unwrap();\n    println!(\"Received: {}\", val);\n}","lang":"rust","description":"Create a ring buffer, push and pop a value asynchronously."},"warnings":[{"fix":"Add tokio as a dependency and use #[tokio::main] or similar.","message":"Requires an async runtime like Tokio or async-std.","severity":"gotcha","affected_versions":">=0.5.0"}],"env_vars":null,"search_vec":"'async':1,16 'buffer':12 'capac':15 'consum':10 'fix':14 'nonblock':4,19 'produc':7 'ring':11 'ringbuff':2,17 'singl':6,9 'single-consum':8 'single-produc':5 'spsc':18","created_at":"2026-06-17T17:12:23.239528+00:00","updated_at":"2026-06-17T17:12:23.239528+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/sunrise-choir/async-ringbuffer","github":"https://github.com/sunrise-choir/async-ringbuffer","docs":"https://docs.rs/async-ringbuffer/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["async","networking"],"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}}