Cargo Features
[dependencies]
xidlehook-core = { version = "0.3.0", default-features = false, features = ["pulse", "async-std", "tokio"] }
- default = pulse
-
The
pulse
feature is set by default wheneverxidlehook-core
is added without
somewhere in the dependency tree.default-features = false - pulse default = libpulse-binding
-
Affects
modules::pulse
…
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-std implicit feature
-
Enables async-std
async-std:
Async version of the Rust standard library
- tokio implicit feature
-
Enables tokio ^0.2.21
tokio:
An event-driven, non-blocking I/O platform for writing asynchronous I/O backed applications
- libpulse-binding pulse