Skip to content

pcsc: switch to bitflags 2#58

Merged
bluetech merged 1 commit intomasterfrom
bitflags2
Dec 14, 2024
Merged

pcsc: switch to bitflags 2#58
bluetech merged 1 commit intomasterfrom
bitflags2

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