Email me

Crate features / linux-raw-sys

Feature flags · linux-raw-sys 0.12.1 · from crates.io 2026-10-24

linux-raw-sys features: what each one does, and the line to copy

Short answerlinux-raw-sys 0.12.1 has 27 features. By default it turns on std, general, errno; add default-features = false to start from nothing. It needs Rust 1.63 or newer.

Pick features

0.12.1latest version
27features
0optional dependencies
1.63MSRV (rust-version)

Every feature

FeatureIn defaultTurns on
auxvecnothing else (a switch the code checks)
bootparamnothing else (a switch the code checks)
btrfsnothing else (a switch the code checks)
elfnothing else (a switch the code checks)
elf_uapinothing else (a switch the code checks)
errnoyesnothing else (a switch the code checks)
generalyesnothing else (a switch the code checks)
if_arpnothing else (a switch the code checks)
if_ethernothing else (a switch the code checks)
if_packetnothing else (a switch the code checks)
if_tunnothing else (a switch the code checks)
imagenothing else (a switch the code checks)
io_uringnothing else (a switch the code checks)
ioctlnothing else (a switch the code checks)
landlocknothing else (a switch the code checks)
loop_devicenothing else (a switch the code checks)
mempolicynothing else (a switch the code checks)
netnothing else (a switch the code checks)
netlinknothing else (a switch the code checks)
no_stdnothing else (a switch the code checks)
prctlnothing else (a switch the code checks)
ptracenothing else (a switch the code checks)
rustc-dep-of-stdcore, no_std
stdyesnothing else (a switch the code checks)
systemnothing else (a switch the code checks)
vm_socketsnothing else (a switch the code checks)
xdpnothing 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 linux-raw-sys declares (rust-version), and the release that changed it:

  • 0.1.4 (2022-12-13): Rust 1.48
  • 0.4.0-pre.0 (2023-05-24): Rust 1.63

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

More on linux-raw-sys

Real downloads, dependents and alternatives: linux-raw-sys crate data (3.3M real downloads a day, 39 dependents).

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 itlinux-raw-sys 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