Skip to content

Upgrade to bitflags v2#181

Merged
iwillspeak merged 3 commits intorust-onig:mainfrom
artichoke:lopopolo/bitflags-v2
Feb 25, 2025
Merged

Upgrade to bitflags v2#181
iwillspeak merged 3 commits intorust-onig:mainfrom
artichoke:lopopolo/bitflags-v2

Conversation

@lopopolo
Copy link
Copy Markdown
Contributor

Prepare for v6.5.0 release.

As a compatibility note, bitflags v2 does not generate a from_bits_unchecked method. See the "major changes" section of the release notes: https://github.com/bitflags/bitflags/releases/tag/2.0.0

I consider this breakage to be minor and not worth a major version bump, but I'm happy to rev the onig crate to 7.0.0 if you'd prefer.

I'd appreciate getting this released. onig is one of the last crates in my lockfile that hasn't yet upgraded to bitflags v2.

@lopopolo
Copy link
Copy Markdown
Contributor Author

bitflags v2 has an MSRV of Rust 1.56.0: https://crates.io/crates/bitflags/2.0.0

Prepare for v6.5.0 release.

As a compatibility note, bitflags v2 does not generate a
`from_bits_unchecked` method. See the "major changes" section of the
release notes: https://github.com/bitflags/bitflags/releases/tag/2.0.0

I consider this breakage to be minor and not worth a major version bump,
but I'm happy to rev the `onig` crate to 7.0.0 if you'd prefer.

I'd appreciate getting this released. `onig` is one of the last crates
in my lockfile that hasn't yet upgraded to `bitflags` v2.
@lopopolo lopopolo force-pushed the lopopolo/bitflags-v2 branch from 13cf021 to 773c733 Compare October 21, 2023 01:16
@lopopolo
Copy link
Copy Markdown
Contributor Author

MSRV is further bumped to 1.60.0 for regex and 1.63.0 for rustix to get a green build

@lopopolo
Copy link
Copy Markdown
Contributor Author

@iwillspeak gentle bump on this

@lopopolo
Copy link
Copy Markdown
Contributor Author

hey @iwillspeak happy new year! anything I can do to help get this merged and a release cut?

@iwillspeak iwillspeak merged commit 1ef74f4 into rust-onig:main Feb 25, 2025
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