librespot/src/lib.rs

63 lines
1.4 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))]
// TODO: many items from tokio-core::io have been deprecated in favour of tokio-io
#![allow(deprecated)]
#[macro_use] extern crate futures;
#[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
2017-08-03 18:58:44 +00:00
pub extern crate librespot_core as core;
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-20 01:59:18 +00:00
pub mod album_cover;
pub mod audio_backend;
pub mod audio_decrypt;
pub mod audio_file;
2017-08-03 18:58:44 +00:00
pub mod discovery;
pub mod keymaster;
pub mod metadata;
pub mod mixer;
pub mod player;
include!(concat!(env!("OUT_DIR"), "/lib.rs"));