From 9c60fbe4baebe8294bbe735622ad1789c8ebd97a Mon Sep 17 00:00:00 2001 From: daxpedda Date: Fri, 20 Dec 2024 21:54:32 +0100 Subject: [PATCH] Bump `bitflags` to v2 (#400) --- Cargo.toml | 2 +- src/common.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 5aeba7f2e1..bf05620147 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,7 +21,7 @@ include = [ ] [dependencies] -bitflags = "1.0" +bitflags = "2.0" crc32fast = "1.2.0" fdeflate = "0.3.3" flate2 = "1.0.11" diff --git a/src/common.rs b/src/common.rs index 9751e4e8f1..50fd2725ee 100644 --- a/src/common.rs +++ b/src/common.rs @@ -815,6 +815,7 @@ bitflags::bitflags! { const SCALE_16 = 0x8000; // read only ``` "] + #[derive(Clone, Copy, Debug, Eq, Hash, Ord, PartialEq, PartialOrd)] pub struct Transformations: u32 { /// No transformation const IDENTITY = 0x00000; // read and write */