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 ^0.9

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

libei default

Enables ashpd ^0.9 and reis ^0.2

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