Skip to content

Commit

Permalink
add feature cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
ripytide committed Jun 9, 2024
1 parent 47797f2 commit 2187b7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/compose.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ where
*image.get_pixel(rect.x + x, rect.y + y)
})
}
#[cfg(feature = "rayon")]
#[doc = generate_parallel_doc_comment!("crop")]
pub fn crop_parallel<P>(image: &Image<P>, rect: Rect) -> Image<P>
where
Expand Down

0 comments on commit 2187b7e

Please sign in to comment.