Cargo Features

[dependencies]
lan-mouse = { version = "0.8.0", 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 ^0.31.0, wayland-protocols-misc ^0.2.0, and wayland-protocols-wlr ^0.2.0

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, glib-build-tools, and gtk4

Affects frontend::gtk