Cargo Features

[dependencies]
async-transport = { version = "0.5.0", default-features = false, features = ["runtime-tokio", "runtime-async-std", "runtime-smol"] }
default = runtime-smol

The runtime-smol feature is set by default whenever async-transport is added without default-features = false somewhere in the dependency tree.

runtime-tokio

Enables net of tokio

runtime-async-std = async-io, async-std
runtime-smol default = async-io, smol

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 runtime-tokio?
async-io runtime-async-std? runtime-smol
async-std runtime-async-std?
smol runtime-smol