mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
8544faf75d
Also updated dependencies. Fixes #133 and #138
74 lines
1.7 KiB
Rust
74 lines
1.7 KiB
Rust
#![crate_name = "librespot"]
|
|
|
|
#![cfg_attr(not(feature = "with-syntex"), feature(plugin, custom_derive))]
|
|
#![cfg_attr(not(feature = "with-syntex"), plugin(protobuf_macros))]
|
|
#![cfg_attr(not(feature = "with-syntex"), plugin(json_macros))]
|
|
#![cfg_attr(not(feature = "with-syntex"), plugin(serde_macros))]
|
|
|
|
#![cfg_attr(feature="clippy", feature(plugin))]
|
|
#![cfg_attr(feature="clippy", plugin(clippy))]
|
|
|
|
#[macro_use] extern crate lazy_static;
|
|
#[macro_use] extern crate log;
|
|
|
|
extern crate bit_set;
|
|
extern crate byteorder;
|
|
extern crate crypto;
|
|
extern crate eventual;
|
|
extern crate getopts;
|
|
extern crate hyper;
|
|
extern crate linear_map;
|
|
extern crate lmdb_rs;
|
|
extern crate mdns;
|
|
extern crate num;
|
|
extern crate protobuf;
|
|
extern crate rand;
|
|
extern crate rpassword;
|
|
extern crate rustc_serialize;
|
|
extern crate serde;
|
|
extern crate serde_json;
|
|
extern crate shannon;
|
|
extern crate tempfile;
|
|
extern crate url;
|
|
|
|
#[cfg(not(feature = "with-tremor"))]
|
|
extern crate vorbis;
|
|
#[cfg(feature = "with-tremor")]
|
|
extern crate tremor as vorbis;
|
|
|
|
#[cfg(feature = "openssl")]
|
|
extern crate openssl;
|
|
|
|
#[cfg(feature = "alsa-backend")]
|
|
extern crate alsa;
|
|
|
|
#[cfg(feature = "portaudio")]
|
|
extern crate portaudio;
|
|
|
|
#[cfg(feature = "libpulse-sys")]
|
|
extern crate libpulse_sys;
|
|
|
|
extern crate librespot_protocol as protocol;
|
|
|
|
pub mod album_cover;
|
|
pub mod audio_backend;
|
|
pub mod audio_decrypt;
|
|
pub mod audio_file2;
|
|
pub mod audio_file;
|
|
pub mod audio_key;
|
|
pub mod cache;
|
|
pub mod connection;
|
|
pub mod diffie_hellman;
|
|
pub mod link;
|
|
pub mod main_helper;
|
|
pub mod metadata;
|
|
pub mod player;
|
|
pub mod stream;
|
|
pub mod util;
|
|
pub mod version;
|
|
|
|
#[cfg(feature = "facebook")]
|
|
pub mod spotilocal;
|
|
|
|
#[cfg(feature = "with-syntex")] include!(concat!(env!("OUT_DIR"), "/lib.rs"));
|
|
#[cfg(not(feature = "with-syntex"))] include!("lib.in.rs");
|