From e4e57d12afd2aa55bcae75197445b7bf61dd2722 Mon Sep 17 00:00:00 2001 From: Henrik Friedrichsen Date: Sun, 3 Mar 2019 15:45:57 +0100 Subject: [PATCH] allow build with other audio backends --- Cargo.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 1469b86..55d3ab8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"] \ No newline at end of file + +[features] +pulseaudio_backend = ["librespot/pulseaudio-backend"] +portaudio_backend = ["librespot/portaudio-backend"] +default = ["pulseaudio_backend"] \ No newline at end of file