Cargo Features

[dependencies]
nuclei = { version = "0.2.1", default-features = false, features = ["epoll", "iouring", "async-exec", "tokio03", "tokio02", "tokio"] }
default = async-exec, epoll

These default features are set whenever nuclei is added without default-features = false somewhere in the dependency tree.

epoll default
iouring = iou, uring-sys
async-exec default = async-global-executor
tokio03

Enables tokio03 of async-global-executor

tokio02

Enables tokio02 of async-global-executor

tokio

Enables tokio of async-global-executor

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

async-global-executor async-exec

With async-io and default (async-io)

iou cfg(target_os = "linux") iouring?
uring-sys cfg(target_os = "linux") iouring?

Enables uring-sys ^0.6.1