ntapi icon indicating copy to clipboard operation
ntapi copied to clipboard

Replace winapi with windows-sys?

Open Jake-Shadle opened this issue 3 years ago • 1 comments

I was updating mio to use windows-sys instead of winapi as windows-sys covers most of Windows API surface and most importantly is maintained and updated frequently as opposed to winapi, but this crate still provides types and functions not available in the windows-sys crate which is to be expected, however since it relies on winapi internally we'll be pulling in 2 versions of windows bindings, and in some cases need to transmute between the "same" type, so just wanted to open this issue to begin a discussion about whether this is something that would be acceptable to this project.

Jake-Shadle avatar Mar 18 '22 07:03 Jake-Shadle

I agree on this one, winapi can already be seen as deprecated, since there is the official windows crate.

https://github.com/microsoft/windows-rs https://crates.io/crates/windows-sys

ghost avatar Oct 22 '22 01:10 ghost