Cargo Features

[dependencies]
input-sys = { version = "1.18.0", default-features = false, features = ["use_bindgen", "update_bindings", "libinput_1_15", "libinput_1_19", "libinput_1_21"] }
default = libinput_1_21

The libinput_1_21 feature is set by default whenever input-sys is added without default-features = false somewhere in the dependency tree.

use_bindgen update_bindings? = bindgen, proc-macro2, regex
update_bindings = use_bindgen
libinput_1_11 libinput_1_14 libinput_1_15
libinput_1_19
libinput_1_21 default

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.

bindgen build use_bindgen?

Enables bindgen ^0.69

proc-macro2 build use_bindgen?
regex build use_bindgen?