Skip to content

Commit

Permalink
♻️ Add back derived traits for JxlBitDepth
Browse files Browse the repository at this point in the history
  • Loading branch information
inflation committed Nov 19, 2023
1 parent ff1bc74 commit a72176a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions jpegxl-rs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,17 @@ bench = []

[dependencies]
derive_builder = "0.12.0"
image = { version = "0.24.6", optional = true, default-features = false }
thiserror = "1.0.40"
image = { version = "0.24.7", optional = true, default-features = false }
thiserror = "1.0.50"
half = "2.3.1"
byteorder = "1.4.3"
byteorder = "1.5.0"

[dependencies.jpegxl-sys]
version = "0.8.2"
path = "../jpegxl-sys"

[dev-dependencies]
image = { version = "0.24.6", default-features = false, features = [
image = { version = "0.24.7", default-features = false, features = [
"jpeg",
"png",
] }
Expand Down
2 changes: 1 addition & 1 deletion jpegxl-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ path = "../jpegxl-src"
optional = true

[dev-dependencies]
image = { version = "0.24.6", default-features = false, features = ["png"] }
image = { version = "0.24.7", default-features = false, features = ["png"] }

[features]
default = ["threads"]
Expand Down
2 changes: 1 addition & 1 deletion jpegxl-sys/src/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ pub enum JxlBitDepthType {
}

#[repr(C)]
#[derive(Clone, Debug)]
#[derive(Clone, Debug, PartialEq, Eq, Hash)]
pub struct JxlBitDepth {
type_: JxlBitDepthType,
bits_per_sample: u32,
Expand Down

0 comments on commit a72176a

Please sign in to comment.