use actual feature names rather than crate names for conditional compilation

This commit is contained in:
Lyndon Brown 2020-11-27 01:57:49 +00:00
parent c8713a6c01
commit cea63e57a4

View file

@ -8,10 +8,10 @@ extern crate shell_words;
#[cfg(feature = "alsa-backend")] #[cfg(feature = "alsa-backend")]
extern crate alsa; extern crate alsa;
#[cfg(feature = "portaudio-rs")] #[cfg(feature = "portaudio-backend")]
extern crate portaudio_rs; extern crate portaudio_rs;
#[cfg(feature = "libpulse-sys")] #[cfg(feature = "pulseaudio-backend")]
extern crate libpulse_sys; extern crate libpulse_sys;
#[cfg(feature = "jackaudio-backend")] #[cfg(feature = "jackaudio-backend")]