From 71870baded52dd5a6a4ac07ccd059d6c40e31437 Mon Sep 17 00:00:00 2001 From: xd009642 Date: Fri, 16 Jul 2021 16:31:24 +0100 Subject: [PATCH] Fixes compile error caused by Flag without serde If the serde feature isn't enabled then Flag doesn't exist and the crate doesn't compile successfully --- src/software/resampling/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/software/resampling/mod.rs b/src/software/resampling/mod.rs index 94b9fef..5bf3274 100644 --- a/src/software/resampling/mod.rs +++ b/src/software/resampling/mod.rs @@ -1,4 +1,5 @@ pub mod flag; +#[cfg(feature = "serde")] pub use self::flag::Flags; pub mod dither;