finds.dev

spacejam/rio

pure rust io_uring library, built on libc, thread & async friendly, misuse resistant

View on GitHub

★ 1,003Rustupdated Jun 2022

// the take

Pure Rust io_uring bindings built directly on libc, targeting storage engines and high-throughput I/O workloads. Designed as the write-path for the `sled` embedded database. The API models completions as futures, so it works with both thread-based and async code.

Backpressure against CQ overflow is built in — most other io_uring libraries let you silently drop completions. Auto-submission when awaiting a Completion removes a whole class of 'why is my op hanging?' bugs. Direct libc syscalls with no bindgen dependency keeps the build simple. The marker-trait approach to buffer writability catches read-only memory mistakes at compile time.

Last commit was June 2022 — effectively abandoned. io_uring has moved fast since then (fixed buffers, multishot ops, registered rings) and none of that is here. The README admits use-after-free is possible without `unsafe` via `std::mem::forget` on a Completion, which undercuts the 'misuse resistant' claim in the description. The `tokio-uring` and `monoio` crates have since lapped this in both maintenance and feature coverage; there is no good reason to start a new project on rio today.

We read the README, the directory tree and a key source file in June 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
1,003
Forks
52
Language
Rust
Last commit
27 Jun 2022

// nearby

If rio isn't quite it.

All repos →