From 00e541b64d5d0827b494a1c9272e71b90fc9445a 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 99d0e4bd..843e7430 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" diff --git a/src/common.rs b/src/common.rs index 400aca11..2742c3c2 100644 --- a/src/common.rs +++ b/src/common.rs @@ -740,6 +740,7 @@ 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 */