allow build with other audio backends

This commit is contained in:
Henrik Friedrichsen
2019-03-03 15:45:57 +01:00
parent 3ea534782e
commit e4e57d12af

View File

@@ -20,4 +20,8 @@ unicode-width = "0.1.5"
[dependencies.librespot]
git = "https://github.com/librespot-org/librespot.git"
default-features = false
features = ["pulseaudio-backend"]
[features]
pulseaudio_backend = ["librespot/pulseaudio-backend"]
portaudio_backend = ["librespot/portaudio-backend"]
default = ["pulseaudio_backend"]