Move to librespot-tremor for crates.io compatability.

This commit is contained in:
Sasha Hilton 2019-11-06 16:40:13 +01:00
parent d91bf573a4
commit 6093d8f299
2 changed files with 3 additions and 3 deletions

View file

@ -17,9 +17,9 @@ num-traits = "0.2"
tempfile = "3.1" tempfile = "3.1"
aes-ctr = "0.3" aes-ctr = "0.3"
tremor = { git = "https://github.com/plietar/rust-tremor", optional = true } librespot-tremor = { version = "0.1.0", optional = true }
vorbis = { version ="0.1.0", optional = true } vorbis = { version ="0.1.0", optional = true }
[features] [features]
with-tremor = ["tremor"] with-tremor = ["librespot-tremor"]
with-vorbis = ["vorbis"] with-vorbis = ["vorbis"]

View file

@ -1,5 +1,5 @@
#[cfg(feature = "with-tremor")] #[cfg(feature = "with-tremor")]
extern crate tremor as vorbis; extern crate librespot_tremor as vorbis;
#[cfg(not(feature = "with-tremor"))] #[cfg(not(feature = "with-tremor"))]
extern crate vorbis; extern crate vorbis;