From 706689f8be1621bd1bc6da363fca43aa1df11f8c Mon Sep 17 00:00:00 2001 From: Zakarum Date: Mon, 25 Sep 2023 15:54:31 +0200 Subject: [PATCH] Update dependencies --- gpu-descriptor/Cargo.toml | 8 +++++--- gpu-descriptor/src/allocator.rs | 1 + types/Cargo.toml | 4 ++-- types/src/types.rs | 1 + 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/gpu-descriptor/Cargo.toml b/gpu-descriptor/Cargo.toml index d1a5852..f4b2641 100644 --- a/gpu-descriptor/Cargo.toml +++ b/gpu-descriptor/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gpu-descriptor" -version = "0.2.3" +version = "0.2.4" authors = ["Zakarum "] edition = "2018" description = "Implementation agnostic descriptor allocator for Vulkan like APIs" @@ -18,6 +18,8 @@ default = ["std"] [dependencies] gpu-descriptor-types = { path = "../types", version = "0.1" } tracing = { version = "0.1", optional = true, default-features = false } -bitflags = { version = "1.2", default-features = false } -serde = { version = "1.0", optional = true, default-features = false, features = ["derive"] } +bitflags = { version = "2.4", default-features = false } +serde = { version = "1.0", optional = true, default-features = false, features = [ + "derive", +] } hashbrown = { version = "0.14" } diff --git a/gpu-descriptor/src/allocator.rs b/gpu-descriptor/src/allocator.rs index 077a886..f922530 100644 --- a/gpu-descriptor/src/allocator.rs +++ b/gpu-descriptor/src/allocator.rs @@ -13,6 +13,7 @@ use { bitflags::bitflags! { /// Flags to augment descriptor set allocation. + #[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] pub struct DescriptorSetLayoutCreateFlags: u32 { /// Specified that descriptor set must be allocated from\ /// pool with `DescriptorPoolCreateFlags::UPDATE_AFTER_BIND`. diff --git a/types/Cargo.toml b/types/Cargo.toml index c38f5ac..25475e6 100644 --- a/types/Cargo.toml +++ b/types/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gpu-descriptor-types" -version = "0.1.1" +version = "0.1.2" authors = ["Zakarum "] edition = "2018" description = "Core types of gpu-descriptor crate" @@ -11,4 +11,4 @@ homepage = "https://github.com/zakarumych/gpu-descriptor" repository = "https://github.com/zakarumych/gpu-descriptor" [dependencies] -bitflags = { version = "1.2", default-features = false } +bitflags = { version = "2.4", default-features = false } diff --git a/types/src/types.rs b/types/src/types.rs index d8fe85c..018a24b 100644 --- a/types/src/types.rs +++ b/types/src/types.rs @@ -2,6 +2,7 @@ bitflags::bitflags! { /// Flags to augment descriptor pool creation. /// /// Match corresponding bits in Vulkan. + #[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] pub struct DescriptorPoolCreateFlags: u32 { /// Allows freeing individual sets. const FREE_DESCRIPTOR_SET = 0x1;