Skip to content

Commit

Permalink
Update to bitflags 2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
sdroege authored and bilelmoussaoui committed Jul 6, 2023
1 parent f6b8437 commit 33df52d
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 12 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.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ exclude = ["Gir*.toml", "tests/**/*", "*.md", "generator.py"]
edition = "2021"

[dependencies]
bitflags = "1.0"
bitflags = "2.2"
getopts = "0.2.21"
getter_rules = { package = "fix-getters-rules", version = "0.3.0", default-features = false }
xml-rs = "0.8"
Expand Down
2 changes: 1 addition & 1 deletion book/src/tutorial/high_level_rust_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ For our example, this results in the following dependencies:
```toml
[dependencies]
libc = "0.2"
bitflags = "1.0"
bitflags = "2.2"

[dependencies.ffi]
package = "pango-sys"
Expand Down
1 change: 1 addition & 0 deletions src/config/property_generate_flags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ use bitflags::bitflags;
use super::error::TomlHelper;

bitflags! {
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub struct PropertyGenerateFlags: u32 {
const GET = 1;
const SET = 2;
Expand Down
2 changes: 1 addition & 1 deletion tests/sys/atk-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pkg-config = "0.3.7"
system-deps = "6"

[dependencies]
bitflags = "1.0"
bitflags = "2.2"
libc = "0.2"

[dependencies.glib]
Expand Down
2 changes: 1 addition & 1 deletion tests/sys/gdk-pixbuf-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pkg-config = "0.3.7"
system-deps = "6"

[dependencies]
bitflags = "1.0"
bitflags = "2.2"
libc = "0.2"

[dependencies.gio]
Expand Down
2 changes: 1 addition & 1 deletion tests/sys/gdk-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pkg-config = "0.3.7"
system-deps = "6"

[dependencies]
bitflags = "1.0"
bitflags = "2.2"
libc = "0.2"

[dependencies.cairo]
Expand Down
2 changes: 1 addition & 1 deletion tests/sys/gio-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pkg-config = "0.3.7"
system-deps = "6"

[dependencies]
bitflags = "1.0"
bitflags = "2.2"
libc = "0.2"

[dependencies.glib]
Expand Down
2 changes: 1 addition & 1 deletion tests/sys/glib-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pkg-config = "0.3.7"
system-deps = "6"

[dependencies]
bitflags = "1.0"
bitflags = "2.2"
libc = "0.2"

[features]
Expand Down
2 changes: 1 addition & 1 deletion tests/sys/gobject-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pkg-config = "0.3.7"
system-deps = "6"

[dependencies]
bitflags = "1.0"
bitflags = "2.2"
libc = "0.2"

[dependencies.glib]
Expand Down
2 changes: 1 addition & 1 deletion tests/sys/gtk-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pkg-config = "0.3.7"
system-deps = "6"

[dependencies]
bitflags = "1.0"
bitflags = "2.2"
libc = "0.2"

[dependencies.atk]
Expand Down
2 changes: 1 addition & 1 deletion tests/sys/pango-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pkg-config = "0.3.7"
system-deps = "6"

[dependencies]
bitflags = "1.0"
bitflags = "2.2"
libc = "0.2"

[dependencies.glib]
Expand Down

0 comments on commit 33df52d

Please sign in to comment.