Skip to content
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

Replace windows with windows-sys #131

Closed
wants to merge 2 commits into from

Conversation

Jake-Shadle
Copy link

...when not using winrt feature.

The compile time cost of windows is not too bad compared to windows-sys for the features used by this crate, ~4.4s vs ~0.8s, and unfortunately due to how optional crates and cfg works in cargo we now add the cost of windows-sys when the winrt feature is enabled even though it is not used, but I think the inverse of compiling the heavier windows crate when it's not needed is worse, but it is a tradeoff.

@Jake-Shadle
Copy link
Author

Guessing this isn't of interest, so I'll close

@Boddlnagg
Copy link
Owner

Sorry that you never received a response, but thank you anyway for the PR! Indeed, it is a tradeoff, and it's not clear to me that the change is worth it, which is why I never merged your PR ...

@Jake-Shadle
Copy link
Author

No worries, this patch is easy to maintain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants