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

pcsc: switch to bitflags 2 #58

Merged
merged 1 commit into from
Dec 14, 2024
Merged

pcsc: switch to bitflags 2 #58

merged 1 commit into from
Dec 14, 2024

Conversation

bluetech
Copy link
Owner

bitflags releases a major version, but we use it in the public interface, so upgrading is a breaking change. However, the bitflags changelog provides guidance on how to keep 2 mostly compatible with 1: https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md#200

This is not perfect, there is still some chance of breaking dependents, but I think/hope it is OK. I think it's better than sticking with 1 only or bumping pcsc major.

The MSRV is bumped to match bitflags.

bitflags releases a major version, but we use it in the public
interface, so upgrading is a breaking change. However, the bitflags
changelog provides guidance on how to keep 2 mostly compatible with 1:
https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md#200

This is not perfect, there is still some chance of breaking dependents,
but I think/hope it is OK. I think it's better than sticking with 1 only
or bumping pcsc major.

The MSRV is bumped to match bitflags.
@bluetech bluetech merged commit 0f5e1e4 into master Dec 14, 2024
6 checks passed
@bluetech bluetech deleted the bitflags2 branch December 14, 2024 16:03
@pbor
Copy link

pbor commented Dec 16, 2024

Nice! Thank you

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