Cargo Features

[dependencies]
input-capture = { version = "0.2.0", default-features = false, features = ["wayland", "x11", "libei"] }
default = libei, wayland, x11

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

wayland default

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

Affects error::WaylandBindError, error::LayerShellCaptureCreationError, input-capture::wayland

x11 default

Enables x11

Affects error::X11InputCaptureCreationError, input-capture::x11

libei default

Enables ashpd ^0.9 and reis ^0.2

Affects error::ReisConvertEventStreamError, error::LibeiCaptureCreationError, input-capture::libei