From 2187b7e8275cbf499ac787b4ad03908275ce99cd Mon Sep 17 00:00:00 2001 From: ripytide Date: Sun, 9 Jun 2024 16:07:56 +0100 Subject: [PATCH] add feature cfg --- src/compose.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compose.rs b/src/compose.rs index 8ade4f58..5eac340b 100644 --- a/src/compose.rs +++ b/src/compose.rs @@ -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

(image: &Image

, rect: Rect) -> Image

where