Cargo Features

Aya has no features set by default.

[dependencies]
aya = { version = "0.12.0", features = ["async_tokio", "async_std"] }
async_tokio

Enables net of tokio

async_std

Enables async-io

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.

tokio async_tokio?