mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
Move to librespot-tremor for crates.io compatability.
This commit is contained in:
parent
d91bf573a4
commit
6093d8f299
2 changed files with 3 additions and 3 deletions
|
@ -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"]
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue