From 70d390a39a636b615fbe963dc4cc07f7c52a0d56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Gonz=C3=A1lez?= Date: Sun, 27 Sep 2026 15:44:48 +0200 Subject: [PATCH] fix(dasp_signal): make `boxed` feature actually build the intended module While working on https://github.com/RustAudio/dasp/pull/204, a relatively recently-introduced compiler warning about `features` not being a recognized `cfg` condition name caught my attention. After taking a look at the underlying code, I realized that it had the consequence of rendering the `boxed` feature of `dasp_signal` non-functional, since it always evaluated to false and thus the `boxed` module containing a `Signal` implementation for boxed signals was not compiled in. To fix that, these changes correct the identified `cfg` typo. --- dasp_signal/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dasp_signal/src/lib.rs b/dasp_signal/src/lib.rs index dacb16d..aa0b7a8 100644 --- a/dasp_signal/src/lib.rs +++ b/dasp_signal/src/lib.rs @@ -57,7 +57,7 @@ use interpolate::Converter; pub mod interpolate; mod ops; -#[cfg(features = "boxed")] +#[cfg(feature = "boxed")] mod boxed; #[cfg(feature = "bus")] pub mod bus;