@jyn514 I see two main reasons to shift to windows-rs:
Winapi is no longer actively maintained (last commit was 9 months ago as of now and 2nd last around 2 years ago) compared to last commit to windows-rs as of 3 days ago.
windows-rs is the official Rust crate for Windows by Microsoft and is supposed to be providing a natural and idiomatic way for Rust developers to call Windows APIs. Some crates like socket2 have already migrated to it.
Move from
winapi
towindows_sys
consideringwinapi
is no longer actively maintained compared towindows-rs