From cb8c9c2afa6880c95ee29f1e403a7f291aaf6013 Mon Sep 17 00:00:00 2001 From: johannesd3 Date: Thu, 1 Apr 2021 18:20:42 +0200 Subject: [PATCH] Enable apresolve always in binary Librespot-connect uses hyper anyway, so no one needs to disable it only to reduce the number of dependencies. Furthermore, when using another backend, people will use --no-default-features and will forget to enable the apresolve feature again. --- Cargo.toml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 8f3e44c..7939b76 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -31,6 +31,7 @@ version = "0.1.6" [dependencies.librespot-core] path = "core" version = "0.1.6" +features = ["apresolve"] [dependencies.librespot-metadata] path = "metadata" @@ -58,8 +59,6 @@ url = "2.1" sha-1 = "0.9" [features] -apresolve = ["librespot-core/apresolve"] - alsa-backend = ["librespot-playback/alsa-backend"] portaudio-backend = ["librespot-playback/portaudio-backend"] pulseaudio-backend = ["librespot-playback/pulseaudio-backend"] @@ -75,7 +74,7 @@ with-lewton = ["librespot-audio/with-lewton"] # with-dns-sd = ["librespot-connect/with-dns-sd"] -default = ["rodio-backend", "apresolve", "with-lewton"] +default = ["rodio-backend", "with-lewton"] [package.metadata.deb] maintainer = "librespot-org"