Cargo Features

[dependencies]
async-pidfd = { version = "0.1.4", default-features = false, features = ["async"] }
default = async

By default, async-pidfd provides async support; however, if you only want synchronous pidfd support, you can disable the async feature.

async default = async-io

Affects async-pidfd::AsyncPidFd

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.

async-io async

Enables async-io ^1.2