Cargo Features

input-device has no features set by default.

[dependencies]
input-device = { version = "0.2.2", features = ["linux-evdev", "linux-mousedev", "serde"] }
linux-evdev

Affects linux::evdev

linux-mousedev

Affects linux::mousedev

Features from optional dependencies

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework