Cargo Features
[dependencies]
livesplit-hotkey = { version = "0.7.0", default-features = false, features = ["std", "wasm-web"] }
- default = std
-
The
std
feature is set by default wheneverlivesplit-hotkey
is added without
somewhere in the dependency tree.default-features = false - std default = evdev, mio, nix, promising-future, winapi, x11-dl
-
Enables std of serde and snafu ^0.7.0
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library. - wasm-web = js-sys, wasm-bindgen, web-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.
- evdev linux std
- js-sys wasm32 unknown wasm-web?
- mio linux std
-
Enables mio ^0.8.0
- nix linux std
-
Enables nix ^0.26.1
- promising-future linux std
- wasm-bindgen wasm32 unknown wasm-web?
- web-sys wasm32 unknown wasm-web?
- winapi win std
- x11-dl linux std