Skip to content

Commit

Permalink
Update to bitflags 2.2.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
qwandor committed Nov 24, 2023
1 parent dd8b245 commit 0cbe43b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion anes/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ default = []
parser = ["bitflags"]

[dependencies]
bitflags = { version = "1.2", optional = true }
bitflags = { version = "2.2.1", optional = true }

[dev-dependencies]
criterion = "0.3"
Expand Down
2 changes: 2 additions & 0 deletions anes/src/parser/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ pub enum Sequence {

bitflags! {
/// A key modifiers.
#[derive(Copy, Clone, Debug, Eq, Hash, Ord, PartialEq, PartialOrd)]
#[repr(transparent)]
pub struct KeyModifiers: u8 {
const SHIFT = 0b0000_0001;
const CONTROL = 0b0000_0010;
Expand Down

0 comments on commit 0cbe43b

Please sign in to comment.