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

Bump to v5.2.0 #492

Closed
wants to merge 1 commit into from
Closed

Bump to v5.2.0 #492

wants to merge 1 commit into from

Conversation

Enselic
Copy link
Collaborator

@Enselic Enselic commented Oct 4, 2023

No description provided.

@Enselic
Copy link
Collaborator Author

Enselic commented Oct 4, 2023

Hmm turns out updating bitflags changes the public API, so to be safe we're going to have to release this as syntect 6.0. I'll do that later unless there are objections.

$ cargo public-api diff
Resolved `diff` to `diff 5.1.0`
 Documenting syntect v5.1.0
    Finished dev [unoptimized + debuginfo] target(s) in 0.38s
 Documenting syntect v5.2.0 (/home/martin/src/syntect)
    Finished dev [unoptimized + debuginfo] target(s) in 0.40s
Removed items from the public API
=================================
-pub unsafe const fn syntect::highlighting::FontStyle::from_bits_unchecked(bits: u8) -> Self
-impl core::cmp::Ord for syntect::highlighting::FontStyle
-pub fn syntect::highlighting::FontStyle::cmp(&self, other: &syntect::highlighting::FontStyle) -> core::cmp::Ordering
-impl core::cmp::PartialOrd<syntect::highlighting::FontStyle> for syntect::highlighting::FontStyle
-pub fn syntect::highlighting::FontStyle::partial_cmp(&self, other: &syntect::highlighting::FontStyle) -> core::option::Option<core::cmp::Ordering>

Changed items in the public API
===============================
-pub struct syntect::highlighting::FontStyle
+pub struct syntect::highlighting::FontStyle(_)

Added items to the public API
=============================
+impl syntect::highlighting::FontStyle
+impl syntect::highlighting::FontStyle
+pub const fn syntect::highlighting::FontStyle::from_bits_retain(bits: u8) -> Self
+pub fn syntect::highlighting::FontStyle::from_name(name: &str) -> core::option::Option<Self>
+pub const fn syntect::highlighting::FontStyle::iter(&self) -> bitflags::iter::Iter<syntect::highlighting::FontStyle>
+pub const fn syntect::highlighting::FontStyle::iter_names(&self) -> bitflags::iter::IterNames<syntect::highlighting::FontStyle>
+impl bitflags::traits::Flags for syntect::highlighting::FontStyle
+pub type syntect::highlighting::FontStyle::Bits = u8
+pub const syntect::highlighting::FontStyle::FLAGS: &'static [bitflags::traits::Flag<syntect::highlighting::FontStyle>]
+pub fn syntect::highlighting::FontStyle::bits(&self) -> u8
+pub fn syntect::highlighting::FontStyle::from_bits_retain(bits: u8) -> syntect::highlighting::FontStyle
+impl bitflags::traits::PublicFlags for syntect::highlighting::FontStyle
+pub type syntect::highlighting::FontStyle::Internal = InternalBitFlags
+pub type syntect::highlighting::FontStyle::Primitive = u8
+impl core::iter::traits::collect::IntoIterator for syntect::highlighting::FontStyle
+pub type syntect::highlighting::FontStyle::IntoIter = bitflags::iter::Iter<syntect::highlighting::FontStyle>
+pub type syntect::highlighting::FontStyle::Item = syntect::highlighting::FontStyle
+pub fn syntect::highlighting::FontStyle::into_iter(self) -> Self::IntoIter

@Enselic Enselic closed this Oct 4, 2023
@trishume
Copy link
Owner

trishume commented Oct 4, 2023 via email

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.

None yet

2 participants