Cargo Features

evdev-rs has no features set by default.

[dependencies]
evdev-rs = { version = "0.6.1", features = ["libevdev-1-10", "serde"] }
libevdev-1-10

Use features from libevdev version 1.10 and greater (libevdev_property_disable)

Enables libevdev-1-10 of evdev-sys

Affects device::DeviceWrapper.disable_property

Features from optional dependencies

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework