Closed sn99 closed 1 year ago
Thanks @sn99 😁
You wrapper is a very nice idea!
Defining the actual WMI objects in Rust is finicky, but IMO for a lot of usecases just a HashMap<String, Variant>
is not very useful, so maybe consider an API which could be later extended to use automatic MOF/MSDN format -> Rust fields conversion, and maybe support for a user-provided connection?
I think migrating to windows-rs
would be really awesome.
If you continue working on it, try to have the work split into manageable PRs?
That's the plan! I've already begun working on a separate PR to migrate to windows-rs
. Additionally, I'm looking to expand the appeal of the wrapper to a wider audience (currently, I've only proposed using it for office work instead of sysinfo
). I'll revisit this PR in about a week or so, after my university midterms are over. Thanks!
FYI #67 / @vthib
Interesting ^^
I already have a working migration to windows
locally, I just have to clean-it up before making a PR for it, so you may not need to spend too much time doing this migration yourself @sn99
@vthib I will leave it to you then
Closed in favor of #67
I was using your crate to make a wrapper library and thought about migrating to
windows-rs
fromwinapi
. This pull is precursor to it.Although this test seems to be failing even before I made any changes