2015-07-08 18:28:17 +00:00
|
|
|
#![crate_name = "librespot"]
|
|
|
|
|
2017-01-29 16:25:09 +00:00
|
|
|
#![cfg_attr(feature = "cargo-clippy", allow(unused_io_amount))]
|
|
|
|
|
2016-12-31 11:51:44 +00:00
|
|
|
#[macro_use] extern crate log;
|
2015-07-08 18:28:17 +00:00
|
|
|
|
2017-02-09 01:27:52 +00:00
|
|
|
extern crate base64;
|
2015-07-08 18:28:17 +00:00
|
|
|
extern crate crypto;
|
2017-08-03 19:37:04 +00:00
|
|
|
extern crate futures;
|
2016-03-13 20:03:09 +00:00
|
|
|
extern crate hyper;
|
2017-01-29 12:50:18 +00:00
|
|
|
extern crate num_bigint;
|
2015-07-08 18:28:17 +00:00
|
|
|
extern crate protobuf;
|
|
|
|
extern crate rand;
|
2017-01-18 05:57:36 +00:00
|
|
|
extern crate tokio_core;
|
2017-01-18 15:17:10 +00:00
|
|
|
extern crate url;
|
2017-01-18 05:57:36 +00:00
|
|
|
|
2017-08-03 19:37:04 +00:00
|
|
|
pub extern crate librespot_audio as audio;
|
2017-08-03 18:58:44 +00:00
|
|
|
pub extern crate librespot_core as core;
|
2018-02-06 00:00:00 +00:00
|
|
|
pub extern crate librespot_discovery as discovery;
|
2017-02-09 01:27:52 +00:00
|
|
|
pub extern crate librespot_protocol as protocol;
|
2017-08-03 19:10:48 +00:00
|
|
|
pub extern crate librespot_metadata as metadata;
|
2016-12-31 13:30:01 +00:00
|
|
|
|
2016-03-14 02:16:59 +00:00
|
|
|
#[cfg(feature = "alsa-backend")]
|
|
|
|
extern crate alsa;
|
2017-02-09 01:27:52 +00:00
|
|
|
|
2017-04-29 10:41:48 +00:00
|
|
|
#[cfg(feature = "portaudio-rs")]
|
|
|
|
extern crate portaudio_rs;
|
2017-02-09 01:27:52 +00:00
|
|
|
|
2016-03-20 19:16:32 +00:00
|
|
|
#[cfg(feature = "libpulse-sys")]
|
|
|
|
extern crate libpulse_sys;
|
|
|
|
|
2017-10-05 18:41:02 +00:00
|
|
|
#[cfg(feature = "jackaudio-backend")]
|
|
|
|
extern crate jack;
|
|
|
|
|
2017-11-27 19:01:30 +00:00
|
|
|
#[cfg(feature = "libc")]
|
|
|
|
extern crate libc;
|
|
|
|
|
2016-12-31 11:51:44 +00:00
|
|
|
pub mod audio_backend;
|
2017-08-03 18:31:15 +00:00
|
|
|
pub mod mixer;
|
2016-12-31 11:51:44 +00:00
|
|
|
pub mod player;
|
2017-02-09 01:27:52 +00:00
|
|
|
|
|
|
|
include!(concat!(env!("OUT_DIR"), "/lib.rs"));
|