{"id":72107,"library":"seekable-async-file","title":"Seekable Async File","description":"Async pread and pwrite with optional delayed sync and metrics.","status":"active","version":"0.15.0","language":"rust","source_language":null,"source_url":"https://github.com/wilsonzlin/seekable-async-file","tags":["async","file-io","pread","pwrite"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nseekable-async-file = \"0.15.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add seekable-async-file","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"SeekableAsyncFile","correct":"use seekable_async_file::SeekableAsyncFile;"}],"quickstart":{"code":"use seekable_async_file::SeekableAsyncFile;\n\n#[tokio::main]\nasync fn main() -> std::io::Result<()> {\n    let file = SeekableAsyncFile::open(\"example.txt\").await?;\n    let mut buf = vec![0u8; 1024];\n    let n = file.pread(&mut buf, 0).await?;\n    println!(\"Read {} bytes\", n);\n    Ok(())\n}","lang":"rust","description":"Opens a file and performs an async pread operation."},"warnings":[{"fix":"Add tokio as a dependency and use #[tokio::main] or another runtime.","message":"Requires an async runtime like Tokio.","severity":"gotcha","affected_versions":">=0.1.0"}],"env_vars":null,"search_vec":"'async':2,4,14 'delay':10 'file':3,16 'file-io':15 'io':17 'metric':13 'option':9 'pread':5,18 'pwrite':7,19 'seekabl':1 'sync':11","created_at":"2026-06-17T18:35:17.630990+00:00","updated_at":"2026-06-17T18:35:17.630990+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/wilsonzlin/seekable-async-file","github":"https://github.com/wilsonzlin/seekable-async-file","docs":"https://docs.rs/seekable-async-file/","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}}