Cargo Features

[dependencies]
async-pidfd-next = { version = "0.1.0", 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-next::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