Cargo Features
[dependencies]
enigo = { version = "0.6.1", default-features = false, features = ["libei_tokio", "libei_smol", "platform_specific", "serde", "wayland", "xdo", "x11rb"] }
- default = x11rb
-
The
x11rbfeature is set by default wheneverenigois added withoutsomewhere in the dependency tree.default-features = false - libei_tokio = tokio
- libei_smol
- platform_specific
-
Affects
enigo::Mouse.smooth_scroll… - serde
-
Enables serde
- wayland
-
Enables nom, tempfile, wayland-client, wayland-protocols-misc, and wayland-protocols-wlr
Affects
linux::keymap2… - xdo
- x11rb default
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.
- tokio unix not mac libei_tokio?