# spacejam/rio

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

Repository: https://github.com/spacejam/rio
Canonical: https://ross.abutalabs.com/products/spacejam-rio
Language: Rust
License Family: other
Topics: io-uring, io, uring, rust, steamy, linux
Last push: 2022-06-27T12:02:01+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3526, "days_push": 1528, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1008, forks 52 (observed 2026-08-28T04:03:12.594854+00:00)

## What it is
rio is a pure Rust library providing safe, misuse-resistant bindings for Linux's io_uring asynchronous I/O interface, built directly on libc without C code generation. It supports both threaded and async usage, with automatic submission handling and backpressure to prevent completion queue overflow.

## Use cases
- perform async disk I/O on Linux with io_uring
- build a high-performance storage engine write path
- batch syscalls for high-throughput networking
- use io_uring from Rust without unsafe C bindings
- avoid dropped completions from queue overflow
- integrate io_uring completions with an async runtime or threads

## When to choose
- you need io_uring access in Rust with ergonomic, misuse-resistant APIs
- you want both thread-based and async (Future-based) completion handling
- you are building high-performance storage or networking software on Linux

## When to avoid
- you need a license other than GPL-3.0 without sponsoring
- you require strict Rust soundness guarantees, since use-after-free is still possible via mem::forget
- you target platforms other than Linux
- you need actively developed features, as the latest release dates to 2022

## Facets
- artifact type: library
- maturity: maintenance
- function: concurrency, file-system, networking
- domain: developer-tools, operating-systems, performance
- platform: rust
- tags: io-uring, async-io, low-level, kernel-interfaces, high-performance-io, linux

## Member repositories
- spacejam/rio (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:12.594854+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:12:12.770763+00:00, confidence not recorded.
  - readme: https://github.com/spacejam/rio (fetched 2026-08-28T04:03:12.594854+00:00, sha 7928ac6bdce0)
  - registry_crates: https://crates.io/api/v1/crates/rio (fetched 2026-08-29T13:12:21.433768+00:00, sha bef029a8f394)
- Data as of 2026-08-30T08:39:29.467469+00:00.
