Cargo Features

amiya = { version = "0.0.6", default-features = false, features = ["built-in-executor"] }
default = built-in-executor

The built-in-executor feature is set by default whenever amiya is added without default-features = false somewhere in the dependency tree.

built-in-executor default = async-executor, async-io, num_cpus, once_cell

Features from optional dependencies

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

async-executor built-in-executor

Enables async-executor

Built-in executor dependencies

async-io built-in-executor

Enables async-io ^1

once_cell built-in-executor
num_cpus built-in-executor