From 1c6c634c70414ad07170f417c8af3124a92cfe92 Mon Sep 17 00:00:00 2001 From: Jonathan Behrens Date: Fri, 20 Dec 2024 13:11:55 -0800 Subject: [PATCH] Bump `bitflags` to v2 (#400) (#553) Co-authored-by: daxpedda --- Cargo.toml | 2 +- src/common.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 5aeba7f2..bf056201 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 9751e4e8..50fd2725 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 */