ohadravid / wmi-rs

WMI crate for rust
Apache License 2.0
84 stars 27 forks source link

Migration from winapi to windows-rs crate #68

Closed vthib closed 1 year ago

vthib commented 1 year ago

Replace winapi, com and widestring with the windows-rs crate:

What does it changes internally (should not be visible from the public API):

What does it changes externally (breaking changes):

Another point to take into account is that windows-rs is still getting updated regularly, and so it may be needed to release new wmi-rs versions more regularly to keep up with those updates. The windows-sys crate is a bit lower level and less often updated, and is supposed to be designed for libs like this. However, we need the COM helpers and the implement macro, which only exists in the higher-level windows crate.

Fixes #67

ohadravid commented 1 year ago

I merged #66 and released 0.11.5. Ping me when you fix the conflicts and I'll merge this 🥳

vthib commented 1 year ago

Thanks for the reactivity and positivity :)

I solved the conflicts, it should be good to go.