| Crates.io | io-engine |
| lib.rs | io-engine |
| version | 0.7.0 |
| created_at | 2025-06-12 15:00:41.842131+00 |
| updated_at | 2026-01-23 20:54:41.34382+00 |
| description | Library for block-based IO, intend to mask AIO/io_uring underneath. |
| homepage | |
| repository | https://github.com/NaturalIO/io-engine |
| max_upload_size | |
| id | 1709896 |
| size | 102,182 |
A Rust library for block-based IO, intended to mask Linux AIO and io_uring underneath. This project aims to provide a unified, high-performance asynchronous I/O interface for Linux systems.
To build io-engine, you will need:
clang and libclang-dev (or equivalent development headers for Clang) for bindgen to generate FFI bindings for Linux AIO.sudo apt-get update
sudo apt-get install -y clang libclang-dev
### Behavior of Short IO
For read, when reaching the file end, might return 0, or short read. It's the upper level user's
job to check the result and retry.
For write, it's unusual the short write happens to filesystem, it's not efficient to retry as io-uring,
user should retry the IO