Cargo Features

[dependencies]
input-emulation = { version = "0.2.1", default-features = false, features = ["wayland", "x11", "xdg_desktop_portal", "libei"] }
default = libei, wayland, x11, xdg_desktop_portal

These default features are set whenever input-emulation is added without default-features = false somewhere in the dependency tree.

wayland default

Enables wayland-client, wayland-protocols, wayland-protocols-misc, and wayland-protocols-wlr

Affects error::WlrootsEmulationCreationError, error::WaylandBindError, input-emulation::wlroots

x11 default

Enables x11

Affects error::X11EmulationCreationError, input-emulation::x11

xdg_desktop_portal default

Enables ashpd

Affects error::XdpEmulationCreationError, input-emulation::xdg_desktop_portal

libei default

Enables ashpd and reis

Affects error::ReisConvertStreamError, error::LibeiEmulationCreationError, input-emulation::libei