Skip to content

Commit

Permalink
fix: Update bon setting to keep from breaking change
Browse files Browse the repository at this point in the history
  • Loading branch information
inflation committed Dec 9, 2024
1 parent f8cc43c commit f743899
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jpegxl-rs/src/decode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ impl<'pr, 'mm> JxlDecoder<'pr, 'mm> {
///
/// # Errors
/// Return [`DecodeError::CannotCreateDecoder`] if it fails to create the decoder.
#[builder]
#[builder(derive(Clone))]
pub fn new(
pixel_format: Option<PixelFormat>,
skip_reorientation: Option<bool>,
Expand Down
2 changes: 1 addition & 1 deletion jpegxl-rs/src/encode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ impl<'prl, 'mm> JxlEncoder<'prl, 'mm> {
///
/// # Errors
/// Return [`EncodeError::CannotCreateEncoder`] if it fails to create the encoder
#[builder]
#[builder(derive(Clone))]
pub fn new(
memory_manager: Option<&'mm dyn MemoryManager>,
#[builder(default)] has_alpha: bool,
Expand Down

0 comments on commit f743899

Please sign in to comment.