ohadravid / wmi-rs

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

Update to more recent windows-rs? #88

Closed ydirson closed 8 months ago

ydirson commented 8 months ago

Are there any plans to update to windows-rs 0.52 or newer?

From this discussion it looks like 0.52 (or possibly unreleased 0.53) would be required to get ExecMethod to run...

ohadravid commented 8 months ago

Should be pretty straightforward.

I might have time to get to this later this month, but you are welcome to open a PR if you have the time 🙌🏻

ydirson commented 7 months ago

Great, thanks! Unfortunately windows-rs APIs continue to move a lot: I need 60f9e456952f for BSTR variants, but wmi-rs apparently needs quite a few more adjustments to work with that new snapshot (variants changed again), and https://github.com/microsoft/windows-rs/pull/2812 since then brought even more API changes. I guess I'll continue for now with my direct use of windows-rs, and when 0.53 gets out we should be able to sync again.