Cargo Features
Nix has no features set by default.
[dependencies]
nix = { version = "0.29.0", features = ["acct", "aio", "dir", "fanotify", "feature", "fs", "inotify", "ioctl", "mman", "mount", "mqueue", "net", "pthread", "ptrace", "quota", "process", "resource", "sched", "signal", "socket", "time", "ucontext", "uio", "user", "zerocopy"] }
- acct
- aio = pin-utils
- dir = fs
- env event fanotify
- feature user?
- fs dir? mqueue? zerocopy?
-
Affects
fcntl::fallocate
… - hostname inotify
- ioctl
-
Affects
sys::ioctl
… - kmod mman
- mount = uio
- mqueue = fs
- net = socket
-
Affects
addr::SockaddrIn
,addr::SockaddrIn6
… - personality poll pthread
- ptrace = process
- quota
- process ptrace? sched? signal?
-
Affects
time::clock_getcpuclockid
… - reboot resource
- sched = process
- signal ucontext? = process
- socket net? = memoffset
- term time
- ucontext = signal
- uio mount? zerocopy?
- user = feature
- zerocopy = fs, uio
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.