-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
windows
crate can be used on Windows to avoid linking issues
#94
Comments
Thanks for bringing this up. @amrbashir was the one implementing it in a way that avoids additional dependencies, which is important to the Thus I don't think there is value (left) in switching to My disposition here is to close this issue as "won't fix" for that reason, but I wanted to leave any action to @amrbashir. |
Interesting, I was not aware of that context. For Tauri, multiple versions of The reason I opened this is a big note on optional |
This feature seemed simple enough that could be done with manual linking so I just preferred to not depend on another crate which helps this crate users ofc and tauri as well. I am fine with both btw, keeping it this way or relying on I can't/shouldn't dictate what the best course here should be and would rather leave it up to the crate maintainer and its community. |
That's great to hear, @nazar-pc , as I indeed didn't update the docs of the feature which made it misleading. I have updated the doc-string to more clearly reflect that status quo - now the feature is there to assure the behaviour isn't changed which could be breaking in unforeseen ways. According to my previous argument I think it's fair to close this issue as no further action is needed. Not having Thanks everyone for there feedback, it was a pleasure. |
Microsoft maintains
windows
crate that should help with all of the linking issues you might encounter. In particular ShellExecuteW is defined here: https://microsoft.github.io/windows-docs-rs/doc/windows/Win32/UI/Shell/fn.ShellExecuteW.htmlYes, the crate is quite large, but I believe it is still worth doing to reduce maintenance burden and get guaranteed correct implementation from upstream.
The text was updated successfully, but these errors were encountered: