midir icon indicating copy to clipboard operation
midir copied to clipboard

Replace `windows` with `windows-sys`

Open Jake-Shadle opened this issue 1 year ago • 0 comments

...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 avatar Apr 18 '23 11:04 Jake-Shadle