diff --git a/src/functions.rs b/src/functions.rs index 27351ad..06f681d 100644 --- a/src/functions.rs +++ b/src/functions.rs @@ -688,7 +688,9 @@ mod test { use std::f64::EPSILON; use std::os::raw::c_double; - use crate::functions::{Aggregate, Context, WindowAggregate}; + use crate::functions::{Aggregate, Context}; + #[cfg(feature = "window")] + use crate::functions::WindowAggregate; use crate::{Connection, Error, Result, NO_PARAMS}; fn half(ctx: &Context<'_>) -> Result {