Skip to content

Conversation

complexspaces
Copy link
Collaborator

This PR is based off my past work (and all of its referenced prior art) in 1Password/arboard#176. The goal of this PR is to allow downstream users more flexibility in what version(s) of windows-sys cargo resolves into their lockfile.

By allowing two versions in the range, users have a higher chance of being able to only build one version and we appease both the users who want to keep their dependencies stable while not holding back the wider ecosystem and users who want to be on the latest versions all the time.

These changes also include a new CI task to ensure that nothing added to windows.rs runs into compatibility issues with windows-sys 0.59 (or any future versions we may add).

@complexspaces complexspaces requested review from djc, cpu and ctz February 22, 2025 20:26
@complexspaces
Copy link
Collaborator Author

I don't believe this puts any meaningful restrictions on improving the Windows verifier code in the future. The only thing that came to mind was better size assertions for CERT_CHAIN_PARA but that hasn't become possible with 0.59 either.

Copy link
Member

@cpu cpu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me 👍 thanks for linking in the broader context.

@complexspaces complexspaces merged commit 9ac0577 into main Feb 26, 2025
22 checks passed
@complexspaces complexspaces deleted the windows-sys-flexibility branch February 26, 2025 02:10
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.

3 participants