mcgoo / vcpkg-rs

Build library for finding native libraries in vcpkg for Rust - Windows (msvc), Linux and macOS
https://docs.rs/vcpkg
Apache License 2.0
108 stars 22 forks source link

Breaking Changes #58

Open CraftSpider opened 9 months ago

CraftSpider commented 9 months ago

There was discussion in #56/#57 about breaking changes, upping MSRV, etc. I wanted to collect thoughts/ideas/etc somewhere, and a list of things desired for a next update. @waych / @pkgw feel free to comment on anything to add/remove from this list.

pkgw commented 9 months ago

I'd recommend aiming for at least 1.40 for non_exhaustive — it would be nice for a breaking release to be "lightly breaking", where hopefully a lot of consumers will be able to update without changing any code. To be more future-proof with Library without non_exhaustive would require a more invasive change, AFAICT.

For the spaghetti target code: the code in tectonic_cfg_support should hopefully be a nice reference for properly handling the CARGO_CFG_TARGET_* variables; my impression has been that a failure to properly respect those has been a source of a lot of the spaghetti-ness there.