We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3759ca8 commit 9ba8f6eCopy full SHA for 9ba8f6e
src/sanity_checks.rs
@@ -2,6 +2,9 @@ use image::{codecs::png::PngDecoder, *};
2
use log::{error, warn};
3
use std::io::Cursor;
4
5
+#[cfg(not(feature = "parallel"))]
6
+use crate::rayon;
7
+
8
/// Validate that the output png data still matches the original image
9
pub fn validate_output(output: &[u8], original_data: &[u8]) -> bool {
10
let (old_frames, new_frames) = rayon::join(
0 commit comments