obv-mikhail / InputBot

Rust library for creating global hotkeys, and simulating inputs
MIT License
421 stars 74 forks source link

Use windows crate rather than winapi #83

Closed jewlexx closed 1 year ago

jewlexx commented 1 year ago

The winapi crate has not been updated since 2018, and while I don't think it is necessarily broken, or bad in any noticeable way, the windows crate receives constant updates and is maintained by Microsoft themselves, which generally means it's more likely to be supported in future, especially if security issues do arise.

TLDR; The winapi crate is old and unmaintained, and probably should not be used, unless it has to be.

Note, I have not had a chance to test these changes yet, so some things may be broken.