2015-07-08 18:28:17 +00:00
|
|
|
#![crate_name = "librespot"]
|
|
|
|
|
2016-01-20 15:47:05 +00:00
|
|
|
#![feature(plugin,zero_one,iter_arith)]
|
2015-07-08 18:28:17 +00:00
|
|
|
|
|
|
|
#![plugin(protobuf_macros)]
|
2016-01-01 23:16:12 +00:00
|
|
|
#![plugin(json_macros)]
|
2016-01-02 15:19:39 +00:00
|
|
|
#[macro_use]
|
|
|
|
extern crate lazy_static;
|
2015-07-08 18:28:17 +00:00
|
|
|
|
2015-09-01 11:20:37 +00:00
|
|
|
extern crate bit_set;
|
2015-07-08 18:28:17 +00:00
|
|
|
extern crate byteorder;
|
|
|
|
extern crate crypto;
|
2015-09-01 11:20:37 +00:00
|
|
|
extern crate eventual;
|
2015-07-08 18:28:17 +00:00
|
|
|
extern crate num;
|
|
|
|
extern crate portaudio;
|
|
|
|
extern crate protobuf;
|
|
|
|
extern crate shannon;
|
|
|
|
extern crate rand;
|
2016-01-01 23:16:12 +00:00
|
|
|
extern crate rustc_serialize;
|
2015-07-08 18:28:17 +00:00
|
|
|
extern crate time;
|
2016-01-01 23:16:12 +00:00
|
|
|
extern crate tiny_http;
|
2015-07-08 18:28:17 +00:00
|
|
|
extern crate tempfile;
|
2016-01-01 23:16:12 +00:00
|
|
|
extern crate url;
|
2015-09-01 11:20:37 +00:00
|
|
|
extern crate vorbis;
|
2015-07-08 18:28:17 +00:00
|
|
|
|
2016-01-02 01:12:07 +00:00
|
|
|
#[cfg(feature = "dns-sd")]
|
|
|
|
extern crate dns_sd;
|
|
|
|
|
2015-07-08 18:28:17 +00:00
|
|
|
extern crate librespot_protocol;
|
|
|
|
|
2016-01-02 15:19:39 +00:00
|
|
|
#[macro_use]pub mod util;
|
2016-01-01 23:16:12 +00:00
|
|
|
mod audio_decrypt;
|
|
|
|
mod audio_file;
|
|
|
|
mod audio_key;
|
|
|
|
mod authentication;
|
|
|
|
mod connection;
|
|
|
|
mod diffie_hellman;
|
|
|
|
pub mod discovery;
|
2015-07-08 18:28:17 +00:00
|
|
|
pub mod mercury;
|
|
|
|
pub mod metadata;
|
|
|
|
pub mod player;
|
|
|
|
pub mod session;
|
2015-07-08 19:50:44 +00:00
|
|
|
pub mod spirc;
|
2016-01-26 22:25:13 +00:00
|
|
|
pub mod link;
|
2016-01-01 23:16:12 +00:00
|
|
|
mod stream;
|
2016-01-02 01:12:07 +00:00
|
|
|
mod zeroconf;
|