Email me

Crate features / rustix

Feature flags · rustix 1.1.5 · from crates.io 2026-10-24

rustix features: what each one does, and the line to copy

Short answerrustix 1.1.5 has 30 features. By default it turns on std; add default-features = false to start from nothing. It needs Rust 1.65 or newer.

Pick features

1.1.5latest version
30features
0optional dependencies
1.65MSRV (rust-version)

Every feature

FeatureIn defaultTurns on
all-apisevent, fs, io_uring, mm, mount, net, param, pipe, process, pty, rand, runtime, shm, stdio, system, termios, thread, time
allocnothing else (a switch the code checks)
eventnothing else (a switch the code checks)
fsnothing else (a switch the code checks)
io_uringevent, fs, net, thread, linux-raw-sys/io_uring
linux_4_11nothing else (a switch the code checks)
linux_5_1linux_4_11
linux_5_11linux_5_1
linux_latestlinux_5_11
mmnothing else (a switch the code checks)
mountnothing else (a switch the code checks)
netlinux-raw-sys/net, linux-raw-sys/netlink, linux-raw-sys/if_ether, linux-raw-sys/xdp
paramnothing else (a switch the code checks)
pipenothing else (a switch the code checks)
processlinux-raw-sys/prctl
ptyfs
randnothing else (a switch the code checks)
runtimelinux-raw-sys/prctl
rustc-dep-of-stdcore, rustc-std-workspace-alloc, linux-raw-sys/rustc-dep-of-std, bitflags/rustc-dep-of-std
shmfs
stdyesbitflags/std, alloc, libc?/std, libc_errno?/std
stdionothing else (a switch the code checks)
systemlinux-raw-sys/system
termiosnothing else (a switch the code checks)
threadlinux-raw-sys/prctl
timenothing else (a switch the code checks)
try_closenothing else (a switch the code checks)
use-explicitly-provided-auxvnothing else (a switch the code checks)
use-libclibc_errno, libc
use-libc-auxvnothing else (a switch the code checks)

dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).

MSRV history

The minimum Rust version rustix declares (rust-version), and the release that changed it:

  • 0.37.24 (2023-09-29): Rust 1.48
  • 0.38.15 (2023-09-29): Rust 1.63
  • 0.37.25 (2023-10-12): Rust 1.48
  • 0.35.15 (2023-10-12): no rust-version declared
  • 0.37.26 (2023-10-19): Rust 1.48
  • 0.38.20 (2023-10-19): Rust 1.63
  • 0.37.27 (2023-10-26): Rust 1.48
  • 0.35.16 (2023-10-26): no rust-version declared
  • 0.38.23 (2023-11-14): Rust 1.63
  • 0.37.28 (2025-01-07): Rust 1.48
  • 0.38.44 (2025-01-21): Rust 1.63
  • 1.1.5 (2026-09-16): Rust 1.65

Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p rustix --precise <version>, or use resolver 3, which picks compatible versions for you.

More on rustix

Real downloads, dependents and alternatives: rustix crate data (3.4M real downloads a day, 1,684 dependents).

Security record: rustix advisories.

docs.rs feature list · crates.io · license Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT · edition 2021

Up next

Before you depend on itrustix crate dataReal downloads, dependents, alternatives.Read it next →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ