librespot/src/lib.rs

72 lines
1.5 KiB
Rust
Raw Normal View History

#![crate_name = "librespot"]
2017-01-29 16:25:09 +00:00
#![cfg_attr(feature = "cargo-clippy", allow(unused_io_amount))]
#[macro_use] extern crate error_chain;
#[macro_use] extern crate futures;
#[macro_use] extern crate lazy_static;
#[macro_use] extern crate log;
2017-01-29 12:50:18 +00:00
#[macro_use] extern crate serde_json;
#[macro_use] extern crate serde_derive;
extern crate base64;
2015-09-01 11:20:37 +00:00
extern crate bit_set;
extern crate byteorder;
extern crate crypto;
extern crate getopts;
extern crate hyper;
extern crate linear_map;
extern crate mdns;
2017-01-29 12:50:18 +00:00
extern crate num_bigint;
extern crate num_integer;
extern crate num_traits;
extern crate protobuf;
extern crate rand;
extern crate rpassword;
2016-07-06 01:29:38 +00:00
extern crate serde;
extern crate shannon;
extern crate tempfile;
2017-01-18 05:57:36 +00:00
extern crate tokio_core;
extern crate tokio_proto;
extern crate url;
2017-04-28 22:24:55 +00:00
extern crate uuid;
2017-01-18 05:57:36 +00:00
pub extern crate librespot_protocol as protocol;
2016-12-31 13:30:01 +00:00
#[cfg(not(feature = "with-tremor"))]
2015-09-01 11:20:37 +00:00
extern crate vorbis;
#[cfg(feature = "with-tremor")]
extern crate tremor as vorbis;
2016-03-14 02:16:59 +00:00
#[cfg(feature = "alsa-backend")]
extern crate alsa;
#[cfg(feature = "portaudio-rs")]
extern crate portaudio_rs;
2016-03-20 19:16:32 +00:00
#[cfg(feature = "libpulse-sys")]
extern crate libpulse_sys;
2017-01-19 22:45:24 +00:00
#[macro_use] mod component;
2017-01-20 01:59:18 +00:00
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;
2017-01-19 22:45:24 +00:00
pub mod channel;
pub mod diffie_hellman;
2017-01-18 21:33:52 +00:00
pub mod mercury;
pub mod metadata;
pub mod player;
pub mod session;
pub mod util;
pub mod version;
pub mod mixer;
2016-03-17 03:31:57 +00:00
include!(concat!(env!("OUT_DIR"), "/lib.rs"));