Skip to content

Commit

Permalink
chore: Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
GrayJack committed Dec 22, 2024
1 parent 819bd35 commit d45eaa8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 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 <[email protected]>"]
version = "0.7.4"
version = "0.8.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.7.2", path = "bitflags-attr-macros" }
bitflags-attr-macros = { version = "=0.8.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.7.2"
version = "0.8.0"
edition = "2021"
license = "MIT OR Apache-2.0"
keywords = ["bit", "bitmask", "bitflags", "flags"]
Expand Down
3 changes: 2 additions & 1 deletion examples/serde.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
use bitflag_attr::bitflag;
use serde::{Deserialize, Serialize};

#[bitflag(u32)]
#[derive(PartialEq, PartialOrd, Eq, Ord, Hash)]
#[derive(Debug, Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Hash, Deserialize, Serialize)]
pub enum SimpleFlag {
Flag1 = 1 << 9,
Flag2 = 1 << 12,
Expand Down

0 comments on commit d45eaa8

Please sign in to comment.