# bytecodealliance/rustix

Safe Rust bindings to POSIX-ish APIs

Repository: https://github.com/bytecodealliance/rustix
Canonical: https://ross.abutalabs.com/products/rustix
Language: Rust
License: NOASSERTION
License Family: other
Topics: safe, posix, rust, linux
Last push: 2026-08-25T22:38:05+00:00

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

## Adoption (not part of the score)
Stars 2084, forks 293 (observed 2026-08-28T04:06:11.855846+00:00)

## What it is
Rustix is a Rust library providing safe, memory-safe and I/O-safe bindings to POSIX/Unix/Linux/Winsock syscall-like APIs. It offers configurable backends (linux_raw using raw syscalls, or libc) and is a Bytecode Alliance project.

## Use cases
- make Linux syscalls from Rust without unsafe code
- avoid libc dependency with raw Linux syscall bindings
- safe file descriptor and I/O handling in Rust
- portable POSIX API bindings across Unix platforms
- Winsock networking bindings for Rust
- low-level syscall wrappers with I/O safety guarantees

## When to choose
- you need memory-safe and I/O-safe low-level syscall access in Rust
- you want to avoid libc overhead via the linux_raw backend
- you're building higher-level libraries (like cap-std) on safe syscall primitives
- you need efficient, inlinable syscall wrappers with pointer provenance guarantees

## When to avoid
- you need high-level portable APIs rather than low-level syscall bindings
- you need full Windows support beyond Winsock networking
- you prefer using the standard library's std abstractions
- you're not working in Rust

## Facets
- artifact type: library
- maturity: stable
- function: http-client, file-system, networking, developer-tools
- domain: developer-tools, operating-systems, cross-platform
- platform: windows, rust, cpp
- tags: syscalls, posix, io-safety, linux-raw, libc, winsock, memory-safety, bytecode-alliance, linux, macos

## Member repositories
- bytecodealliance/rustix (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:11.855846+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-30T02:55:52.094288+00:00, confidence not recorded.
  - readme: https://github.com/bytecodealliance/rustix (fetched 2026-08-28T04:06:11.855846+00:00, sha 112efb872d7d)
  - registry_crates: https://crates.io/api/v1/crates/rustix (fetched 2026-08-29T10:35:50.134461+00:00, sha 9ca8c549b4f5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
