Cargo Features
[dependencies]
windows-hotkeys = { version = "0.2.1", default-features = false, features = ["threadsafe"] }
- default = threadsafe
-
The
threadsafe
feature is set by default wheneverwindows-hotkeys
is added without
somewhere in the dependency tree.default-features = false - 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
…