Skip to content

Commit

Permalink
chore: bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
GrayJack committed Jan 16, 2025
1 parent b0305e2 commit 8284ac1
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "bitflag-attr"
authors = ["GrayJack <gr41.j4ck@gmail.com>"]
version = "0.8.2"
version = "0.9.0"
edition = "2021"
license = "MIT OR Apache-2.0"
description = "A macro to generate bitflags structures from C-like enums"
Expand All @@ -13,7 +13,7 @@ rust-version = "1.75.0"
exclude = ["/tests", "/.github"]

[dependencies]
bitflags-attr-macros = { version = "=0.8.2", path = "bitflags-attr-macros" }
bitflags-attr-macros = { version = "=0.9.0", path = "bitflags-attr-macros" }

[[test]]
name = "tests"
Expand Down
2 changes: 1 addition & 1 deletion bitflags-attr-macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bitflags-attr-macros"
version = "0.8.2"
version = "0.9.0"
edition = "2021"
license = "MIT OR Apache-2.0"
keywords = ["bit", "bitmask", "bitflags", "flags"]
Expand Down
4 changes: 4 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,10 @@ pub trait Flags: Sized + Copy + 'static {
}
}

///////////////////////////////////////////////////////////////////////////////
// Adapted from bitflags `bitflags_match!`
///////////////////////////////////////////////////////////////////////////////

/// A macro that matches flags values, similar to Rust's `match` statement.
///
/// In a regular `match` statement, the syntax `Flag::A | Flag::B` is interpreted as an or-pattern,
Expand Down

0 comments on commit 8284ac1

Please sign in to comment.