commit e348950e7a97b3fc61459a2b7f5443124e9462ea
parent 72b9b0dab97fc91ca3d9a00e587b29d2944aae11
Author: William Casarin <jb55@jb55.com>
Date: Sun, 14 Apr 2024 16:23:36 -0700
crates: add bitflags
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
2 files changed, 30 insertions(+), 28 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
@@ -118,7 +118,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ee91c0c2905bae44f84bfa4e044536541df26b7703fd0888deeb9060fcc44289"
dependencies = [
"android-properties",
- "bitflags 2.4.2",
+ "bitflags 2.5.0",
"cc",
"cesu8",
"jni",
@@ -418,7 +418,7 @@ version = "0.69.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a00dc851838a2120612785d195287475a3ac45514741da670b735818822129a0"
dependencies = [
- "bitflags 2.4.2",
+ "bitflags 2.5.0",
"cexpr",
"clang-sys",
"itertools",
@@ -511,9 +511,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
[[package]]
name = "bitflags"
-version = "2.4.2"
+version = "2.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf"
+checksum = "cf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1"
[[package]]
name = "block"
@@ -602,7 +602,7 @@ version = "0.12.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fba7adb4dd5aa98e5553510223000e7148f621165ec5f9acd7113f6ca4995298"
dependencies = [
- "bitflags 2.4.2",
+ "bitflags 2.5.0",
"log",
"polling",
"rustix",
@@ -1640,7 +1640,7 @@ version = "0.31.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "005459a22af86adc706522d78d360101118e2638ec21df3852fcc626e0dbb212"
dependencies = [
- "bitflags 2.4.2",
+ "bitflags 2.5.0",
"cfg_aliases",
"cgl",
"core-foundation",
@@ -1705,7 +1705,7 @@ version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fbcd2dba93594b227a1f57ee09b8b9da8892c34d55aa332e034a228d0fe6a171"
dependencies = [
- "bitflags 2.4.2",
+ "bitflags 2.5.0",
"gpu-alloc-types",
]
@@ -1715,7 +1715,7 @@ version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "98ff03b468aa837d70984d55f5d3f846f6ec31fe34bbb97c4f85219caeee1ca4"
dependencies = [
- "bitflags 2.4.2",
+ "bitflags 2.5.0",
]
[[package]]
@@ -1737,7 +1737,7 @@ version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cc11df1ace8e7e564511f53af41f3e42ddc95b56fd07b3f4445d2a6048bc682c"
dependencies = [
- "bitflags 2.4.2",
+ "bitflags 2.5.0",
"gpu-descriptor-types",
"hashbrown",
]
@@ -1748,7 +1748,7 @@ version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6bf0b36e6f090b7e1d8a4b49c0cb81c1f8376f72198c65dd3ad9ff3556b8b78c"
dependencies = [
- "bitflags 2.4.2",
+ "bitflags 2.5.0",
]
[[package]]
@@ -1796,7 +1796,7 @@ version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "af2a7e73e1f34c48da31fb668a907f250794837e08faa144fd24f0b8b741e890"
dependencies = [
- "bitflags 2.4.2",
+ "bitflags 2.5.0",
"com",
"libc",
"libloading 0.8.1",
@@ -2177,7 +2177,7 @@ version = "0.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3af92c55d7d839293953fcd0fda5ecfe93297cfde6ffbdec13b41d99c0ba6607"
dependencies = [
- "bitflags 2.4.2",
+ "bitflags 2.5.0",
"libc",
"redox_syscall 0.4.1",
]
@@ -2285,7 +2285,7 @@ version = "0.27.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c43f73953f8cbe511f021b58f18c3ce1c3d1ae13fe953293e13345bf83217f25"
dependencies = [
- "bitflags 2.4.2",
+ "bitflags 2.5.0",
"block",
"core-graphics-types",
"foreign-types",
@@ -2344,7 +2344,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8878eb410fc90853da3908aebfe61d73d26d4437ef850b70050461f939509899"
dependencies = [
"bit-set",
- "bitflags 2.4.2",
+ "bitflags 2.5.0",
"codespan-reporting",
"hexf-parse",
"indexmap",
@@ -2383,7 +2383,7 @@ version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2076a31b7010b17a38c01907c45b945e8f11495ee4dd588309718901b1f7a5b7"
dependencies = [
- "bitflags 2.4.2",
+ "bitflags 2.5.0",
"jni-sys",
"log",
"ndk-sys 0.5.0+25.2.9519653",
@@ -2576,6 +2576,7 @@ dependencies = [
"android-activity 0.4.3",
"android_logger",
"base32",
+ "bitflags 2.5.0",
"console_error_panic_hook",
"eframe",
"egui",
@@ -3337,7 +3338,7 @@ version = "0.38.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6ea3e1a662af26cd7a3ba09c0297a31af215563ecf42817c98df621387f4e949"
dependencies = [
- "bitflags 2.4.2",
+ "bitflags 2.5.0",
"errno",
"libc",
"linux-raw-sys",
@@ -3681,7 +3682,7 @@ version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "60e3d9941fa3bacf7c2bf4b065304faa14164151254cd16ce1b1bc8fc381600f"
dependencies = [
- "bitflags 2.4.2",
+ "bitflags 2.5.0",
"calloop",
"calloop-wayland-source",
"cursor-icon",
@@ -3751,7 +3752,7 @@ version = "0.3.0+sdk-1.3.268.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eda41003dc44290527a59b13432d4a0379379fa074b70174882adfbdfd917844"
dependencies = [
- "bitflags 2.4.2",
+ "bitflags 2.5.0",
]
[[package]]
@@ -4570,7 +4571,7 @@ version = "0.31.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "82fb96ee935c2cea6668ccb470fb7771f6215d1691746c2d896b447a00ad3f1f"
dependencies = [
- "bitflags 2.4.2",
+ "bitflags 2.5.0",
"rustix",
"wayland-backend",
"wayland-scanner",
@@ -4582,7 +4583,7 @@ version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "625c5029dbd43d25e6aa9615e88b829a5cad13b2819c4ae129fdbb7c31ab4c7e"
dependencies = [
- "bitflags 2.4.2",
+ "bitflags 2.5.0",
"cursor-icon",
"wayland-backend",
]
@@ -4604,7 +4605,7 @@ version = "0.31.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8f81f365b8b4a97f422ac0e8737c438024b5951734506b0e1d775c73030561f4"
dependencies = [
- "bitflags 2.4.2",
+ "bitflags 2.5.0",
"wayland-backend",
"wayland-client",
"wayland-scanner",
@@ -4616,7 +4617,7 @@ version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "23803551115ff9ea9bce586860c5c5a971e360825a0309264102a9495a5ff479"
dependencies = [
- "bitflags 2.4.2",
+ "bitflags 2.5.0",
"wayland-backend",
"wayland-client",
"wayland-protocols",
@@ -4629,7 +4630,7 @@ version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ad1f61b76b6c2d8742e10f9ba5c3737f6530b4c243132c2a2ccc8aa96fe25cd6"
dependencies = [
- "bitflags 2.4.2",
+ "bitflags 2.5.0",
"wayland-backend",
"wayland-client",
"wayland-protocols",
@@ -4769,7 +4770,7 @@ checksum = "6b15e451d4060ada0d99a64df44e4d590213496da7c4f245572d51071e8e30ed"
dependencies = [
"arrayvec",
"bit-vec",
- "bitflags 2.4.2",
+ "bitflags 2.5.0",
"cfg_aliases",
"codespan-reporting",
"indexmap",
@@ -4796,7 +4797,7 @@ dependencies = [
"android_system_properties",
"arrayvec",
"ash",
- "bitflags 2.4.2",
+ "bitflags 2.5.0",
"block",
"cfg_aliases",
"core-graphics-types",
@@ -4834,7 +4835,7 @@ version = "0.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "895fcbeb772bfb049eb80b2d6e47f6c9af235284e9703c96fc0218a42ffd5af2"
dependencies = [
- "bitflags 2.4.2",
+ "bitflags 2.5.0",
"js-sys",
"web-sys",
]
@@ -5123,7 +5124,7 @@ dependencies = [
"ahash",
"android-activity 0.5.2",
"atomic-waker",
- "bitflags 2.4.2",
+ "bitflags 2.5.0",
"bytemuck",
"calloop",
"cfg_aliases",
@@ -5248,7 +5249,7 @@ version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6924668544c48c0133152e7eec86d644a056ca3d09275eb8d5cdb9855f9d8699"
dependencies = [
- "bitflags 2.4.2",
+ "bitflags 2.5.0",
"dlib",
"log",
"once_cell",
diff --git a/Cargo.toml b/Cargo.toml
@@ -38,6 +38,7 @@ base32 = "0.4.0"
nostr-sdk = "0.29.0"
strum = "0.26"
strum_macros = "0.26"
+bitflags = "2.5.0"
[features]