Cargo Features

[dependencies]
winput = { version = "0.2.5", default-features = false, features = ["minimal", "message_loop", "serde"] }
default = message_loop

The message_loop feature is set by default whenever winput is added without default-features = false somewhere in the dependency tree.

minimal

Disables non-Windows related features.

message_loop default

Enables the message_loop module.

Enables hidusage, libloaderapi, minwindef and windef of winapi

Affects winput::message_loop

Features from optional dependencies

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework