Email me

Crate features / nix

Feature flags · nix 0.31.3 · from crates.io 2026-10-24

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

Short answernix 0.31.3 has 34 features. Nothing is on by default: turn on what you use. It needs Rust 1.69 or newer.

Pick features

0.31.3latest version
34features
0optional dependencies
1.69MSRV (rust-version)

Every feature

FeatureIn defaultTurns on
acctnothing else (a switch the code checks)
aiopin-utils
dirfs
envnothing else (a switch the code checks)
eventpoll
fanotifynothing else (a switch the code checks)
featurenothing else (a switch the code checks)
fsnothing else (a switch the code checks)
hostnamenothing else (a switch the code checks)
inotifynothing else (a switch the code checks)
ioctlnothing else (a switch the code checks)
kmodnothing else (a switch the code checks)
mmannothing else (a switch the code checks)
mountuio
mqueuefs
netsocket
personalitynothing else (a switch the code checks)
pollnothing else (a switch the code checks)
processnothing else (a switch the code checks)
pthreadnothing else (a switch the code checks)
ptraceprocess
quotanothing else (a switch the code checks)
rebootnothing else (a switch the code checks)
resourcenothing else (a switch the code checks)
schedprocess
signalprocess
socketmemoffset
syslognothing else (a switch the code checks)
termnothing else (a switch the code checks)
timenothing else (a switch the code checks)
ucontextsignal
uionothing else (a switch the code checks)
userfeature
zerocopyfs, uio

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 nix declares (rust-version), and the release that changed it:

  • 0.23.1 (2021-12-17): Rust 1.46
  • 0.22.3 (2022-01-23): no rust-version declared
  • 0.24.0 (2022-04-21): Rust 1.46
  • 0.26.0 (2022-11-29): Rust 1.56
  • 0.25.1 (2022-12-02): Rust 1.46
  • 0.26.2 (2023-01-18): Rust 1.56
  • 0.27.0 (2023-08-28): Rust 1.65
  • 0.26.4 (2023-08-28): Rust 1.56
  • 0.28.0 (2024-02-24): Rust 1.69

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

More on nix

Real downloads, dependents and alternatives: nix crate data (2.4M real downloads a day, 3,910 dependents).

Security record: nix advisories.

docs.rs feature list · crates.io · license MIT · edition 2021

Up next

Before you depend on itnix 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