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 whenevertrillium-html-rewriter
is added without
somewhere in the dependency tree.default-features = false - 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. These features may have been created by mistake, and this functionality may be removed in the future.
- async-global-executor default smol?
- async_std_crate async-std?
-
Enables async-std
- tokio_crate tokio?
-
Enables tokio