From cea63e57a4f4bd4393ad0da77eb7881bcb193d9b Mon Sep 17 00:00:00 2001 From: Lyndon Brown Date: Fri, 27 Nov 2020 01:57:49 +0000 Subject: [PATCH] use actual feature names rather than crate names for conditional compilation --- playback/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/playback/src/lib.rs b/playback/src/lib.rs index e2a2ac83..79b9856d 100644 --- a/playback/src/lib.rs +++ b/playback/src/lib.rs @@ -8,10 +8,10 @@ extern crate shell_words; #[cfg(feature = "alsa-backend")] extern crate alsa; -#[cfg(feature = "portaudio-rs")] +#[cfg(feature = "portaudio-backend")] extern crate portaudio_rs; -#[cfg(feature = "libpulse-sys")] +#[cfg(feature = "pulseaudio-backend")] extern crate libpulse_sys; #[cfg(feature = "jackaudio-backend")]