Cargo Features

[dependencies]
trillium-html-rewriter = { version = "0.3.0", default-features = false, features = ["async-std", "smol", "tokio"] }
default = async-global-executor

The async-global-executor feature is set by default whenever trillium-html-rewriter is added without default-features = false somewhere in the dependency tree.

async-std = async_std_crate
smol = async-global-executor
tokio = tokio_crate

Features from optional dependencies

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

async-global-executor default smol?
async_std_crate async-std?

Enables async-std

tokio_crate tokio?

Enables tokio