Cargo Features

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

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

layer_shell default

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

Affects error::WaylandBindError, error::LayerShellCaptureCreationError

x11 default

Enables x11

Affects error::X11InputCaptureCreationError

libei default

Enables ashpd and reis

Affects error::LibeiCaptureCreationError