Cargo Features

[dependencies]
windows-hotkeys = { version = "0.2.1", default-features = false, features = ["threadsafe"] }
default = threadsafe

The threadsafe feature is set by default whenever windows-hotkeys is added without default-features = false somewhere in the dependency tree.

threadsafe default

Enable the threadsafe implementation that uses an extra backend thread and channel communication to work around the same-thread limitation of the windows event queue

Affects windows-hotkeys::threadsafe