Cargo Features
[dependencies]
hass-rs = { version = "0.3.1", default-features = false, features = ["use-tokio", "use-async-std"] }
- default = use-tokio
-
The
use-tokio
feature is set by default wheneverhass-rs
is added without
somewhere in the dependency tree.default-features = false - use-tokio default = tokio
- use-async-std = async-std
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.