Cargo Features

[dependencies]
input = { version = "0.9.0", default-features = false, features = ["use_bindgen", "libinput_1_11", "libinput_1_14", "libinput_1_15", "libinput_1_19", "libinput_1_21", "log", "udev"] }
default = libinput_1_21, log, udev

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

use_bindgen

Enables use_bindgen of input-sys

libinput_1_11 libinput_1_14?

Enables libinput_1_11 of input-sys

libinput_1_14 libinput_1_15? = libinput_1_11

Enables libinput_1_14 of input-sys

libinput_1_15 libinput_1_19? = libinput_1_14

Enables libinput_1_15 of input-sys

Affects device::ScrollButtonLockState

libinput_1_19 libinput_1_21 = libinput_1_15

Enables libinput_1_19 of input-sys

Affects gesture::GestureHoldEvent, gesture::GestureHoldEventTrait, pointer::PointerScrollEvent

libinput_1_21 default = libinput_1_19

Enables libinput_1_21 of input-sys

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

log default
udev default