Cargo Features
[dependencies]
xenstore-rs = { version = "0.7.0", default-features = false, features = ["async_watch", "static"] }
- default = async_watch
-
The
async_watch
feature is set by default wheneverxenstore-rs
is added without
somewhere in the dependency tree.default-features = false - async_watch default = futures, tokio
-
Affects
xenstore-rs::XsStream
… - static
-
static linking libxenstore
Enables static of xenstore-sys
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.