Cargo Features
trillium-static has no features set by default.
[dependencies]
trillium-static = { version = "0.4.2", features = ["async-std", "smol", "tokio"] }
- async-std = async_std_crate
- smol = async-fs
- tokio = async-compat, 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-compat tokio?
- async-fs smol?
- async_std_crate async-std?
-
Enables async-std
- tokio_crate tokio?
-
Enables tokio