cargo: permit windows-sys >=0.52.0 and <=0.59.*#106
Conversation
This matches a similar change made by @ChrisDenton for winapi-util in: BurntSushi/winapi-util#19 The benefit is that this should hopefully put less constraints on the ecosystem and to enable fewer copies of windows-sys to appear in dependency trees. I am somewhat miffed that this is necessary. IMO, the windows-sys maintainers should find a way to make a stable release with infrequent or ~zero breaking change releases.
The windows-sys crate is auto-generated from upstream metadata so only has so much control. And people do want fixes for issues so zero breaking changes won't be realistic until the metadata stabilizes and is fully reliable. I don't think infrequent release would solve the issue either. Whether it's a breaking release every six months or two years, there's going to be a point where the ecosystem is split for a long time due to the very different rates at which crates update their dependencies (almost immediately via a bot or a year or two later when someone happens to notice the outdated dependency). There is however another option. Bespoke bindings can be generated using the windows-bindgen crate. The only public dependency is the |
|
Thank you! I'll probably move to |
This matches a similar change made by @ChrisDenton for winapi-util in:
BurntSushi/winapi-util#19
The benefit is that this should hopefully put less constraints on the
ecosystem and to enable fewer copies of windows-sys to appear in
dependency trees.
I am somewhat miffed that this is necessary. IMO, the windows-sys
maintainers should find a way to make a stable release with infrequent
or ~zero breaking change releases.