Skip to content

Commit

Permalink
Better handling of alsa dependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonTeixidor committed May 26, 2018
1 parent 19beaae commit e4d0558
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ dbus = { version = "0.6", optional = true }
dbus-tokio = { version = "0.2", optional = true }
rspotify = "0.1.2"
chrono = "0.4"

[target.'cfg(linux)'.dependencies]
alsa = "0.2"
alsa = { version = "0.2", optional = true }

[replace]
"rust-crypto:0.2.36" = { git = "https://github.com/awmath/rust-crypto.git", branch = "avx2" }
Expand All @@ -35,7 +33,7 @@ default-features = false
features = ["with-tremor"]

[features]
alsa_backend = ["librespot/alsa-backend"]
alsa_backend = ["librespot/alsa-backend", "alsa"]
pulseaudio_backend = ["librespot/pulseaudio-backend"]
portaudio_backend = ["librespot/portaudio-backend"]
dbus_mpris = ["dbus", "dbus-tokio"]
Expand Down

0 comments on commit e4d0558

Please sign in to comment.