librespot/src/lib.rs

43 lines
936 B
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 log;
extern crate base64;
extern crate crypto;
2017-08-03 19:37:04 +00:00
extern crate futures;
extern crate hyper;
2017-01-29 12:50:18 +00:00
extern crate num_bigint;
extern crate protobuf;
extern crate rand;
2017-01-18 05:57:36 +00:00
extern crate tokio_core;
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;
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;
#[cfg(feature = "portaudio-rs")]
extern crate portaudio_rs;
2016-03-20 19:16:32 +00:00
#[cfg(feature = "libpulse-sys")]
extern crate libpulse_sys;
#[cfg(feature = "jackaudio-backend")]
extern crate jack;
#[cfg(feature = "libc")]
extern crate libc;
pub mod audio_backend;
pub mod mixer;
pub mod player;
include!(concat!(env!("OUT_DIR"), "/lib.rs"));