mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-06 03:50:06 +02:00
Update dependencies.
Rust 1.15 is now required.
This commit is contained in:
parent
9873eaf2a0
commit
19b06ae5fb
10 changed files with 196 additions and 251 deletions
19
src/lib.rs
19
src/lib.rs
|
@ -1,8 +1,5 @@
|
|||
#![crate_name = "librespot"]
|
||||
|
||||
#![cfg_attr(not(feature = "with-syntex"), feature(plugin, custom_derive))]
|
||||
#![cfg_attr(not(feature = "with-syntex"), plugin(protobuf_macros))]
|
||||
|
||||
#![cfg_attr(feature = "cargo-clippy", allow(unused_io_amount))]
|
||||
|
||||
#[macro_use] extern crate error_chain;
|
||||
|
@ -10,10 +7,9 @@
|
|||
#[macro_use] extern crate lazy_static;
|
||||
#[macro_use] extern crate log;
|
||||
#[macro_use] extern crate serde_json;
|
||||
|
||||
#[cfg(not(feature = "with-syntex"))]
|
||||
#[macro_use] extern crate serde_derive;
|
||||
|
||||
extern crate base64;
|
||||
extern crate bit_set;
|
||||
extern crate byteorder;
|
||||
extern crate crypto;
|
||||
|
@ -27,7 +23,6 @@ extern crate num_traits;
|
|||
extern crate protobuf;
|
||||
extern crate rand;
|
||||
extern crate rpassword;
|
||||
extern crate rustc_serialize;
|
||||
extern crate serde;
|
||||
extern crate shannon;
|
||||
extern crate tempfile;
|
||||
|
@ -35,7 +30,7 @@ extern crate tokio_core;
|
|||
extern crate tokio_proto;
|
||||
extern crate url;
|
||||
|
||||
extern crate librespot_protocol as protocol;
|
||||
pub extern crate librespot_protocol as protocol;
|
||||
|
||||
#[cfg(not(feature = "with-tremor"))]
|
||||
extern crate vorbis;
|
||||
|
@ -44,18 +39,22 @@ extern crate tremor as vorbis;
|
|||
|
||||
#[cfg(feature = "alsa-backend")]
|
||||
extern crate alsa;
|
||||
|
||||
#[cfg(feature = "portaudio")]
|
||||
extern crate portaudio;
|
||||
|
||||
#[cfg(feature = "libpulse-sys")]
|
||||
extern crate libpulse_sys;
|
||||
|
||||
#[macro_use] mod component;
|
||||
|
||||
#[macro_use] mod component;
|
||||
pub mod album_cover;
|
||||
pub mod apresolve;
|
||||
pub mod audio_backend;
|
||||
pub mod audio_decrypt;
|
||||
pub mod audio_file;
|
||||
pub mod audio_key;
|
||||
pub mod authentication;
|
||||
pub mod cache;
|
||||
pub mod channel;
|
||||
pub mod diffie_hellman;
|
||||
|
@ -66,5 +65,5 @@ pub mod session;
|
|||
pub mod util;
|
||||
pub mod version;
|
||||
|
||||
#[cfg(feature = "with-syntex")] include!(concat!(env!("OUT_DIR"), "/lib.rs"));
|
||||
#[cfg(not(feature = "with-syntex"))] include!("lib.in.rs");
|
||||
|
||||
include!(concat!(env!("OUT_DIR"), "/lib.rs"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue