Cargo Features

userfaultfd has no features set by default.

[dependencies]
userfaultfd = { version = "0.8.1", features = ["linux4_14", "linux5_7"] }
linux4_14

Enables process of nix ^0.27, linux4_14 of userfaultfd-sys

linux5_7

Enables linux5_7 of userfaultfd-sys

userfaultfd has 2 features without comments.