Cargo Features

[dependencies]
lan-mouse = { version = "0.7.3", default-features = false, features = ["wayland", "x11", "xdg_desktop_portal", "libei", "gtk"] }
default = gtk, libei, wayland, x11, xdg_desktop_portal

These default features are set whenever lan-mouse 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 capture::wayland, emulate::wlroots

x11 default

Enables x11

Affects capture::x11, emulate::x11

xdg_desktop_portal default

Enables ashpd

Affects emulate::xdg_desktop_portal

libei default

Enables ashpd and reis

Affects capture::libei, emulate::libei

gtk default

Enables libadwaita, async-channel, and gtk4

Affects frontend::gtk