rust-lang / rustwide

Execute your code on the Rust ecosystem.
Apache License 2.0
180 stars 44 forks source link

Migrate from winapi to windows-rs by microsoft #70

Closed sn99 closed 1 year ago

sn99 commented 1 year ago

Move from winapi to windows_sys considering winapi is no longer actively maintained compared to windows-rs

jyn514 commented 1 year ago

winapi is no longer actively maintained compared to windows-rs

I'm not aware of this being true? What makes you think it's unmaintained?

sn99 commented 1 year ago

@jyn514 I see two main reasons to shift to windows-rs:

  1. 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.
  2. 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.
jyn514 commented 1 year ago

Thanks for the PR :)