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 */