{"id":62823,"library":"partial-io","title":"Partial IO","description":"Helpers to test partial, interrupted and would-block I/O operations with support for property-based testing.","status":"active","version":"0.5.4","language":"rust","source_language":null,"source_url":"https://github.com/sunshowers-code/partial-io","tags":["testing","io","partial","property-based"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\npartial-io = \"0.5.4\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add partial-io","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"PartialRead","correct":"use partial_io::PartialRead;"}],"quickstart":{"code":"use partial_io::PartialRead;\nuse std::io::Read;\n\nlet data = b\"hello world\";\nlet mut reader = PartialRead::new(&data[..], vec![Ok(5), Err(std::io::ErrorKind::Interrupted.into()), Ok(6)]);\nlet mut buf = String::new();\nreader.read_to_string(&mut buf).unwrap();\nassert_eq!(buf, \"hello world\");","lang":"rust","description":"Tests partial reads with an interrupted error."},"warnings":[],"env_vars":null,"search_vec":"'base':19,26 'block':11 'helper':3 'i/o':12 'interrupt':7 'io':2,22 'oper':13 'partial':1,6,23 'properti':18,25 'property-bas':17,24 'support':15 'test':5,20,21 'would':10 'would-block':9","created_at":"2026-06-17T16:36:00.807401+00:00","updated_at":"2026-06-17T16:36:00.807401+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/sunshowers-code/partial-io","github":"https://github.com/sunshowers-code/partial-io","docs":"https://docs.rs/partial-io/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing"],"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}}